DASH! micropython test.py no module named 'OmegaExpansion'
root@Omega-C592:~# python test.py
I'm using the dash, so I want to use the lv_micropython lib to create the gui. I've had several issues so far and this is just one of them I've created a posting for. The other one is here:
What do I have to do to get the microphython to recognize the OmegaExpansion package that is present?
I already also did this instruction: opkg install micropython-lib --nodeps
The code for test.py is below
from OmegaExpansion import AdcExp
self.adc = AdcExp.AdcExp(address=0x48);
@LightSwitch The ADC Expansion package is for Python only, it won't work for micropython.
To interact with the ADC Expansion with micropython, I recommend calling the
adc-expcommand-line tool from micropython.
See the OS function in micropython-lib: https://github.com/micropython/micropython-lib/tree/eae01bd4e4cd1b22d9ccfedbd6bf9d879f64d9bd/os