Oled Screen
-
@Boken-Lin is theree some package (apart python-light) that needs to be installed in order to sue the ptyhon oled code?
When I try to use it I just get error message that sais
Traceback (most recent call last): File "oled.py", line 1, in <module> from onion import I2C ImportError: No module named onion
-
You will need onion lib, where to get it, don't know, try looking in git.
-
@Simon-Yakov The python OLED library is deprecated now. We will have the new OLED library up online very soon.
-
@Simon-Yakov Tried the same and got the same, as it didnt know about the library I knew I needed it but assumed it didnt exist yet.
@Boken-Lin Cheers for the update!
-
@Boken-Lin Could I test the OLED screen with
i2cset
? I want to check that the module is working or not.
-
I'm thinking about porting it for using i2cset and i2cget, i actually have one oled hooked up to the onion roght now, but since there's a new lib coming soon, i am feeling a bit lazy... I'll give it a shot though.
-
@Pedro-Baco Good to hear. I tried to use
i2cset
andi2cget
, However, the module returns nothing... I can see the module oni2cdetect
. Could you give me a some advice for it?
-
@Edward-Kim If you want to control it manually with i2cset you can try. You can take a look at the header file for the library that we are currently working on here: https://github.com/OnionIoT/i2c-exp-driver/blob/master/include/oled-exp.h. Some constants we have defined are the value for the commands that you should send to the OLED screen to do certain things.
-
Hurry up with the library guys! I'm thinking of a very very cool project with the OLED screen and don't want to waste my time on figuring out the code to run it! Just need simple function calls to make it work!
-
@Shamyl-Mansoor Yup, we are hurrying! We just need a few more days!