install micropython-mcp7940

Discuss development of drivers for external hardware and components, such as LCD screens, sensors, motor drivers, etc.
Target audience: Users and developers of drivers.
Post Reply
ebelouet
Posts: 10
Joined: Mon Jan 15, 2018 9:01 pm

install micropython-mcp7940

Post by ebelouet » Wed Jan 12, 2022 8:41 pm

HI,

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

Sincerely
Eric

User avatar
OlivierLenoir
Posts: 126
Joined: Fri Dec 13, 2019 7:10 pm
Location: Picardie, FR

Re: install micropython-mcp7940

Post by OlivierLenoir » Thu Jan 13, 2022 5:58 am

You can use rshell or mpremote.

User avatar
OlivierLenoir
Posts: 126
Joined: Fri Dec 13, 2019 7:10 pm
Location: Picardie, FR

Re: install micropython-mcp7940

Post by OlivierLenoir » Thu Jan 13, 2022 6:14 am

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/

Post Reply