Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | esp8266: Add PWM support. | Damien George | 2016-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 George | 2016-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 George | 2016-03-24 |
| | | | | Tested and working with SSD1306 I2C display. | ||
* | esp8266: Expose pin object as a public structure for use as C pin API. | Damien George | 2016-03-24 |
| | | | | | This is an initial attempt at making a simple C pin API for writing things like I2C drivers in C. | ||
* | esp8266: Expose simple pin API at C level. | Damien George | 2016-03-05 |
| | |||
* | esp8266: Make pyb.RTC a type, and pyb.RTC() constructs an RTC object. | Damien George | 2015-06-22 |
| | | | | | | | This is the standard way of doing things, one should construct a peripheral object (even if it's a singleton). See issue #1330. | ||
* | esp8266: Add pyb.ADC class | Josef Gajdusek | 2015-05-28 |
| | |||
* | esp8266: Add utime and pyb.RTC | Josef Gajdusek | 2015-05-13 |
| | |||
* | esp8266: Add basic pyb.Pin class; supports output mode only. | Damien George | 2015-02-13 |