Page 1 of 1

install micropython-mcp7940

Posted: Wed Jan 12, 2022 8:41 pm
by ebelouet
HI,

I am beginner and I would like to know how can i install this library micropython-mcp7940 on my esp32 ?

Sincerely
Eric

Re: install micropython-mcp7940

Posted: Thu Jan 13, 2022 5:58 am
by OlivierLenoir
You can use rshell or mpremote.

Re: install micropython-mcp7940

Posted: Thu Jan 13, 2022 6:14 am
by OlivierLenoir
Site awesome-micropython.com is a good starting point. You can find a lot of driver here.
For MCP7940 the repo is here.
Download mcp7940.py and copy it to your device.

Using rshell:

Code: Select all

rshell -p /dev/ttyUSB0 
cp mcp7940.py /pyboard/