Standard Machine API?
Posted: Tue Aug 30, 2016 7:33 am
Whats the thinking on the machine API compatibility across ports? I'm porting micropython to the SAMD21x18 which is on the Arduino Zero. Specifically, I'm adding PWM support to the port but I'm unsure which approach to take.
The ESP8266 has a PWM class while the Teensy and STMHAL have separate timer classes that seem to reflect the underlying system. The Teensy and STMHAL approach is great for using micropython as a proxy for the underlying code but bad for portability of both code and tutorials.
If there is a standard API where is it documented? Thanks!
The ESP8266 has a PWM class while the Teensy and STMHAL have separate timer classes that seem to reflect the underlying system. The Teensy and STMHAL approach is great for using micropython as a proxy for the underlying code but bad for portability of both code and tutorials.
If there is a standard API where is it documented? Thanks!