Added SPEAKER pin to HalloWing M4 for code compatibility

This commit is contained in:
Melissa LeBlanc-Williams 2019-09-19 11:23:37 -07:00
parent 76d463e8ec
commit 341428b4da
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,8 @@
STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
{ MP_ROM_QSTR(MP_QSTR_A0), MP_ROM_PTR(&pin_PA02) },
{ MP_ROM_QSTR(MP_QSTR_SPEAKER), MP_ROM_PTR(&pin_PA02) },
{ MP_ROM_QSTR(MP_QSTR_A1), MP_ROM_PTR(&pin_PA05) },
{ MP_ROM_QSTR(MP_QSTR_A2), MP_ROM_PTR(&pin_PA06) },
{ MP_ROM_QSTR(MP_QSTR_TOUCH1), MP_ROM_PTR(&pin_PA06) },