Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
src
 
 
 
 

micropython Library for atm90e32

This library does the same thing the Circuit Python library does. We can write micropython to talk to the atm90e32. An example is included.

TODO: I did not implement all the mehods/properties that are in the Arduino port. I am hoping through Open Source that someone (you?) would like to add more.

Thanks to Those That Went Before

There is so much prior work that made it easier to write a CP library for the atm90e32. Efforts include:

Installing micropython on the wemos

I used a wemos D1.

From the Command Line

The micropython docs have a tutorial on getting micropython onto the esp8266. We used what is currently the latest esp8266-20190529-v1.11.bin.

Installing micropython

Standard Install

Following the install instructions,

  • erase the flash: esptool.py --port /dev/tty.wchusbserial1410 erase_flash
  • Copy micropython:
    esptool.py --port /dev/tty.wchusbserial1410 --baud 460800 write_flash --flash_size=detect 0 esp8266-20190125-v1.11.bin

Using uPyCraft

I started using uPyCraft. It is super easy to install micropython from the uPyCraft IDE.

Talking SPI

The difference between the Circuit Python and micropython libraries is captured in the __init__ and _spi_rw methods of atm90e32_u.py.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages