Hi
In my code i need to check if the module booted in normal mode or with usb/serial connected.
How can i check that ?
Tommy
Search found 2 matches
- Fri Aug 09, 2019 11:22 am
- Forum: General Discussion and Questions
- Topic: Booting normal or serial/usb
- Replies: 1
- Views: 1459
- Fri May 03, 2019 2:25 pm
- Forum: ESP32 boards
- Topic: "utime.strftime" problem converting Hour
- Replies: 3
- Views: 3234
"utime.strftime" problem converting Hour
Hi I have a problem when converting date / time from (2019, 5, 3, 14, 11, 14, 6, 123) format to "14:11:14" data[2] = (2019, 5, 3, 14, 11, 14, 6, 123) jsondata["Timestamp"] = utime.strftime('%H:%M:%S', utime.localtime(int(utime.mktime(data[2])))) Result gives me often one hour more than the correct v...