Search found 10 matches
- Sun Dec 16, 2018 12:57 pm
- Forum: MicroPython pyboard
- Topic: Any experience for LCM4004 module?
- Replies: 0
- Views: 11064
Any experience for LCM4004 module?
I have enabled 1602, 2004 and 1802 module via LCD library, but I have trouble in LCM4004 module. The LCM4004 module has 2 SPLC780D1 chip and it doesn't work in 4-wire or 8-wire mode in current library, the result is no any content displays on screen. Does any guys has experience about this module? R...
- Mon Feb 26, 2018 2:28 am
- Forum: ESP32 boards
- Topic: Pin map on NodeMCU ESP32 module
- Replies: 5
- Views: 14295
- Sun Feb 25, 2018 2:45 pm
- Forum: ESP32 boards
- Topic: Pin map on NodeMCU ESP32 module
- Replies: 5
- Views: 14295
Re: Pin map on NodeMCU ESP32 module
For example, in ESP8266 board, if I use nodeMCU module, below map list can help me to locale relationship between micropython and nodeMCU: A0---------------ACD0 D1---------------GPIO5 D2---------------GPIO4 D3---------------GPIO0-------FLASH D4---------------GPIO2-------TX0D1 D5---------------GPIO14...
- Sun Feb 25, 2018 3:38 am
- Forum: ESP32 boards
- Topic: Pin map on NodeMCU ESP32 module
- Replies: 5
- Views: 14295
Pin map on NodeMCU ESP32 module
Hi experts,
Its any pin-map available in nodeMCU ESP32 module on micropython?
Regards
Its any pin-map available in nodeMCU ESP32 module on micropython?
Regards
- Sun Nov 05, 2017 9:05 am
- Forum: MicroPython pyboard
- Topic: A special case in bytes decode function
- Replies: 4
- Views: 7653
Re: A special case in bytes decode function
Sorry for my mistake, my question is, why the b'\xa5' is not equal with char '%'? and, why b'\xa5' can not be decoded by any coding in general Python.
- Sun Nov 05, 2017 8:53 am
- Forum: MicroPython pyboard
- Topic: A special case in bytes decode function
- Replies: 4
- Views: 7653
A special case in bytes decode function
I try to convert a bytes to str, but uPy gives some unreasonable result as below, anyone can explain this case? uPY 1.9.2 >>> b'\xa5'.decode() '%' >>> b'\xa5'.decode() == '%' False >>> b'%'.decode() == '%' True General PY 3.5.2 >>> b'\xa5'.decode('utf8') Traceback (most recent call last): File "<pys...
- Thu Oct 19, 2017 6:38 am
- Forum: ESP8266 boards
- Topic: How to get DHCP option info?
- Replies: 0
- Views: 1603
How to get DHCP option info?
As the topic, if I config a special DHCP option, such as option 150 or option 66, how to get them in micropython?
- Wed Oct 18, 2017 2:17 am
- Forum: ESP8266 boards
- Topic: Saving power
- Replies: 21
- Views: 26403
Re: Saving power
The ESP8266 has provided a deep sleep mode which has been implemented in micropython power management. Please see the document as below: https://docs.micropython.org/en/latest/esp8266/esp8266/tutorial/powerctrl.html I write a demo for my IoT project, the sensor has a ESP8266 and one DHT22 sensor and...
- Sat Oct 07, 2017 3:29 am
- Forum: MicroPython pyboard
- Topic: How to use 'network' module in pyb?
- Replies: 1
- Views: 2132
How to use 'network' module in pyb?
I seen that the network module has been merged in recent release of micropython, but the pyb has no wifi hardware module, anyone who can give me a hand to clear how to take the pyb works with network module?
aka.... ESP8266 has wifi adapter but I try to use threading in my project.
aka.... ESP8266 has wifi adapter but I try to use threading in my project.
- Sun Jul 02, 2017 7:47 am
- Forum: MicroPython pyboard
- Topic: [UNRESOLVED] Read pulse from PC FAN via Input Capture
- Replies: 0
- Views: 1504
[UNRESOLVED] Read pulse from PC FAN via Input Capture
Hi guys, I try to read the FAN speed from 3 pin PC fan, and my code as below. I seen the result is incorrect and unstable, the pull-up res is 10K and connect to 3.3v pin. Anyone can help on this case? ic_pin = pyb.Pin.board.X4 ic = t2.channel(4, pyb.Timer.IC, pin=ic_pin, polarity=pyb.Timer.RISING) i...