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

Хаасан
нээсэн 3 жил өмнө by Ghost · 2 саналууд
Ghost санал үлдээсэн 3 жил өмнө

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 санал үлдээсэн 3 жил өмнө
Эзэмшигч

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 санал үлдээсэн 3 жил өмнө
Эзэмшигч

Fixed.

Fixed.
patb хаасан 3 жил өмнө
Энэ хэлэлцүүлгэнд нэгдэхийн тулт та нэвтэрнэ үү.
Шошгогүй
Үе шат заахгүй
Хариуцагч байхгүй
2 Оролцогчид
Ачааллаж байна ...
Цуцлах
Хадгалах
Харуулах агуулга байхгүй байна.