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

已關閉
由 Ghost 於 2 年之前創建 · 2 條評論

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 評論 2 年之前'
所有者

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 評論 2 年之前'
所有者

Fixed.

Fixed.
patb2 年之前 關閉
登入 才能加入這對話。
未選擇標籤
未選擇里程碑
未指派成員
2 參與者
正在加載...
取消
保存
尚未有任何內容