summaryrefslogtreecommitdiff
path: root/docs/he-il/proton_c_conversion.md
diff options
context:
space:
mode:
authorGuy Khmelnitsky <guykhmel@gmail.com>2019-10-31 11:47:07 +0200
committernoroadsleft <18669334+noroadsleft@users.noreply.github.com>2019-10-31 02:47:07 -0700
commit742e83e102f5d91087672ae3f91e433a74bd51dd (patch)
treee62c4477ef3018850dd59d246a0ed8e5ab4c600d /docs/he-il/proton_c_conversion.md
parent934fa5183e95ad98e2e744c48e524308e940f799 (diff)
[Docs] Add he-IL (Hebrew) Translation (#7001)
* Add he-IL (Hebrew) Translation * Add Hebrew to SUMMARY * Try RTL * Add RTL text * Lowercase folder names * Update lowercase folder in Summary * Adding getting_started_introduction.md * Add Proton C Conversion translation * Add Becoming a QMK Collaborator Translation * Add FAQ translation * Add Hardware translation * Documentation Best Practices translation * Add FAQ General translation * Align docs RTL * Add Becoming a QMK Collaborator Translation * Translate Getting Started - Getting Help * Translate Getting Started With Github * Code sections should be alligned to the left * Code sections should be alligned to the left * Code sections should be alligned to the left * Revert "Code sections should be alligned to the left" This reverts commit d0c46e90c4915ceebe7c5182aca2b75afad25df0. * Add Markdown aligned to the left * Update quantum_keycodes.md * Update proton_c_conversion.md * Translate Newbs Learn More Resourses
Diffstat (limited to 'docs/he-il/proton_c_conversion.md')
-rw-r--r--docs/he-il/proton_c_conversion.md36
1 files changed, 36 insertions, 0 deletions
diff --git a/docs/he-il/proton_c_conversion.md b/docs/he-il/proton_c_conversion.md
new file mode 100644
index 0000000000..9642ca3090
--- /dev/null
+++ b/docs/he-il/proton_c_conversion.md
@@ -0,0 +1,36 @@
+<div dir="rtl" markdown="1">
+# המרה של לוח להשתמש ב-Proton C
+
+אם לוח נתמך ב-QMK משתמש בלוח Pro Micro (או כל לוח נתמך) ואתם רוצים להשתמש ב-Proton C, ניתן לייצר את החומרה ע"י הוספה של הפקודה `CONVERT_TO_PROTON_C=yes` (או `CTPC=yes`) לפקודת make, כמו כאן:
+<div dir="ltr" markdown="1">
+
+```
+ make 40percentclub/mf68:default CTPC=yes
+```
+
+</div>
+ניתן להוסיף את אותו ארגומנט לקובץ `rules.mk` במיפוי המקשים שלכם, שתיצור את אותה התוצאה.
+
+הדבר חושף את דגל `CONVERT_TO_PROTON_C` שניתן להשתמש בו בקוד שלכם באמצעות פקודת `#ifdef`, כמו כאן:
+<div dir="ltr" markdown="1">
+
+```
+ #ifdef CONVERT_TO_PROTON_C
+ // Proton C code
+ #else
+ // Pro Micro code
+ #endif
+```
+
+</div>
+לפני שתצליחו לקמפל, יכול להיות שתקבלו שגיאות שונות לגבי `PORTB/DDRB`, וכו' שלא הוגדרו, אם כך, תצטרכו להמיר את קודי המקלדת להשתמש ב - [בקרי GPIO](internals_gpio_control.md) שיעבדו עבור ARM וגם AVR. הדבר לא אמור להשפיע על הבילדים של AVR בכלל.
+
+ל-Proton C יש רק מנורת LED אחת על הלוח (C13), וכברירת מחדל, TXLED (D5) ממופה אליו. אם תרצו במקום, למפות אליו את RXLED (B0), הוסיפו את השורה הבא לקובץ `config.h`:
+<div dir="ltr" markdown="1">
+
+```
+ #define CONVERT_TO_PROTON_C_RXLED
+```
+
+</div>
+</div>