@dhylands: Thanks for merging my PR. I consider it as my first contribution to MicroPython.
@deshipu: I am already seeing how I can improve my library based on those practices.
Search found 14 matches
- Tue Dec 27, 2016 8:53 am
- Forum: Development of MicroPython
- Topic: Developing MicroPython libraries for different boards
- Replies: 7
- Views: 6045
- Sat Dec 24, 2016 9:37 am
- Forum: ESP8266 boards
- Topic: TMP100 library - Please critique
- Replies: 10
- Views: 10040
TMP100 library - Please critique
Hello. The following code is for the TMP100 [1] temperature sensor. I would like your feedback on the code. What would make the code more correct? """TMP100 driver for ESP8266 in MicroPython.""" from machine import I2C class TMP100: # Registers T_REG = 0x00 CONF_REG = 0x01 # Configuration Register S...
- Sat Dec 24, 2016 9:22 am
- Forum: Development of MicroPython
- Topic: Developing MicroPython libraries for different boards
- Replies: 7
- Views: 6045
Re: Developing MicroPython libraries for different boards
Thank you both for your replies. Yes it would be useful to have a "template" for publishing code that is easily portable between boards. I saw this LCD library (https://github.com/demestav/python_lcd) which decouples the boards from the core logic of the LCD screen communication, and I was wondering...
- Fri Dec 23, 2016 7:21 pm
- Forum: Development of MicroPython
- Topic: Developing MicroPython libraries for different boards
- Replies: 7
- Views: 6045
Developing MicroPython libraries for different boards
Hello. First post and my first reaction is hats off to the admins for choosing such original captcha! I would like to write contribute to the MicroPython community by authoring some libraries for components I use. I would like to ask for advise on how to write libraries which can be extended to the ...