-
Notifications
You must be signed in to change notification settings - Fork 1.4k
remove UART object and use pins for IR #9389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,3 +20,6 @@ FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_Bitmap_Font | |
| FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_Display_Text | ||
| FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_Display_Shapes | ||
| FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_HID | ||
| FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_IRRemote | ||
| FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_asyncio | ||
| FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_Ticks | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Alphabetize these for ease of finding things. |
||
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -38,7 +38,7 @@ static const mp_rom_map_elem_t board_module_globals_table[] = { | |||||||||||
|
|
||||||||||||
| { MP_ROM_QSTR(MP_QSTR_GP0), MP_ROM_PTR(&pin_GPIO0) }, | ||||||||||||
| { MP_ROM_QSTR(MP_QSTR_GP1), MP_ROM_PTR(&pin_GPIO1) }, | ||||||||||||
| // GPIO0 and GPIO1 are also the UART | ||||||||||||
| // GPIO0 and GPIO1 are used for IR and not for UART | ||||||||||||
| { MP_ROM_QSTR(MP_QSTR_TX), MP_ROM_PTR(&pin_GPIO0) }, | ||||||||||||
| { MP_ROM_QSTR(MP_QSTR_RX), MP_ROM_PTR(&pin_GPIO1) }, | ||||||||||||
|
||||||||||||
| // GPIO0 and GPIO1 are used for IR and not for UART | |
| { MP_ROM_QSTR(MP_QSTR_TX), MP_ROM_PTR(&pin_GPIO0) }, | |
| { MP_ROM_QSTR(MP_QSTR_RX), MP_ROM_PTR(&pin_GPIO1) }, | |
| { MP_ROM_QSTR(MP_QSTR_IR_TX), MP_ROM_PTR(&pin_GPIO0) }, | |
| { MP_ROM_QSTR(MP_QSTR_IR_ RX), MP_ROM_PTR(&pin_GPIO1) }, |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
THe GPIO28 pin alias was removed. Was that intentional? If so remove the line 114 comment.
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is not true anymore, just remove.
| // GPIO29 is also the ID value of the board (an analog read value between 0 .. 4096) | |
| // { MP_ROM_QSTR(MP_QSTR_VID), MP_ROM_PTR(&pin_GPIO29) }, |
Uh oh!
There was an error while loading. Please reload this page.