You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In function "pin_list_to_board_dict" on line 191 it is assumed that board sends capability response for digital pin in format: [DIGITAL_INPUT, 1, DIGITAL_OUTPUT, 1] but in StandardFirmata example in Arduino it is [DIGITAL_INPUT, 1, INPUT_PULLUP, 11 DIGITAL_OUTPUT, 1].
I think it would be possible to solve this by changing line 191 with this:
if pin[j:j + 2] == [0, 1]:
as all digital pis are reported by arduino as input, input_pullup and output.
This bug is only relevant when using auto setup (layout = None).
The text was updated successfully, but these errors were encountered:
In function "pin_list_to_board_dict" on line 191 it is assumed that board sends capability response for digital pin in format: [DIGITAL_INPUT, 1, DIGITAL_OUTPUT, 1] but in StandardFirmata example in Arduino it is [DIGITAL_INPUT, 1, INPUT_PULLUP, 11 DIGITAL_OUTPUT, 1].
I think it would be possible to solve this by changing line 191 with this:
if pin[j:j + 2] == [0, 1]:
as all digital pis are reported by arduino as input, input_pullup and output.
This bug is only relevant when using auto setup (layout = None).
The text was updated successfully, but these errors were encountered: