#1 opio mode cant set gpio 0 - returns "the mode command requires a gpio number"

Zavřený
otevřeno před 2 roky uživatelem Ghost · 2 komentářů
Ghost okomentoval před 2 roky

Hi - I have tried to set the gpio however the commands returns that the gpio doesn't exist.

Output from opio readall: 0 | SCL | I2C2.SCL | alt | ? | 15

root@opi961:/usr/bin# opio mode 0 out the mode command requires a gpio number

Hi - I have tried to set the gpio however the commands returns that the gpio doesn't exist. Output from opio readall: 0 | SCL | I2C2.SCL | alt | ? | 15 root@opi961:/usr/bin# opio mode 0 out the mode command requires a gpio number
Pat Beirne okomentoval před 2 roky
Vlastník

Yes, indeed, that's a bug. I was checking the gpio-pin-number for existence by comparing it against 0. My bad. I'll fix it soon.

Yes, indeed, that's a bug. I was checking the gpio-pin-number for existence by comparing it against 0. My bad. I'll fix it soon.
Pat Beirne okomentoval před 2 roky
Vlastník

Fixed.

Fixed.
Přihlaste se pro zapojení do konverzace.
Bez štítku
Bez milníku
Bez zpracovatele
2 účastníků
Načítání...
Zrušit
Uložit
Není zde žádný obsah.