forked from mirror/qmk_firmware
[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 d0c46e90c4.
* Add Markdown aligned to the left
* Update quantum_keycodes.md
* Update proton_c_conversion.md
* Translate Newbs Learn More Resourses
This commit is contained in:
committed by
noroadsleft
parent
934fa5183e
commit
742e83e102
36
docs/he-il/proton_c_conversion.md
Normal file
36
docs/he-il/proton_c_conversion.md
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user