summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/modmachine.c
Commit message (Collapse)AuthorAge
* esp8266: Move pyb.unique_id() to machine.unique_id().Paul Sokolovsky2016-04-05
|
* esp8266: Move pyb.hard_reset() to machine.reset().Paul Sokolovsky2016-04-05
|
* esp8266: Link ADC class into machine module.Damien George2016-03-26
|
* esp8266: Add PWM support.Damien George2016-03-26
| | | | | | | | | | | | | | | | | PWM implementation uses a timer and interrupts (FRC1), taken from Espressif's/NodeMCU's implementation and adapted for our use. 8 channels are supported, on pins 0, 2, 4, 5, 12, 13, 14, 15. Usage: import machine pwm0 = machine.PWM(machine.Pin(0)) pwm0.freq(1000) pwm0.duty(500) Frequency is shared (ie the same) for all channels. Frequency is between 1 and 1000. Duty is between 0 and 1023.
* esp8266: Implement software SPI class.Damien George2016-03-25
| | | | | Supports speeds up to 500k baud, polarity=0/1, phase=0/1, and using any pins. Only supports MSB output at the moment.
* esp8266: Add basic I2C driver, with init and writeto methods.Damien George2016-03-24
| | | | Tested and working with SSD1306 I2C display.
* esp8266: Move pyb.freq to machine.freq.Damien George2016-03-09
|
* esp8266/modmachine: Add Pin class from modpyb.Paul Sokolovsky2016-03-05
|
* esp8266/modmachine: Timer: Add ONE_SHOT and PERIODIC symbolic constants.Paul Sokolovsky2016-03-04
|
* esp8266/modmachine: Use etshal.h.Paul Sokolovsky2016-03-04
|
* esp8266/modmachine: Changing params of a timer requires disarming it first.Paul Sokolovsky2016-03-04
|
* esp8266/modmachine: Basic implementation of Timer for OS virtual timers.Paul Sokolovsky2016-03-04
|
* esp8266: Add modmachine with mem* arrays.Paul Sokolovsky2016-03-04