Using upycraft same as all the other files. Could try and install ampy and try with that.
EDIT: Quickly setup webrepl and sended the file true the webrepl interface. And it works.
Thank you.
Search found 6 matches
- Tue Feb 12, 2019 6:21 pm
- Forum: General Discussion and Questions
- Topic: [SOLVED] PBM file showing /r
- Replies: 4
- Views: 3146
- Tue Feb 12, 2019 12:12 pm
- Forum: General Discussion and Questions
- Topic: [SOLVED] PBM file showing /r
- Replies: 4
- Views: 3146
Re: PBM file showing /r
Seems odd to me that al the other files don't have this issue except for the one. cpython is version 3 so I would expect the same behavior in microphyton. If I check the file out on notepad++ (and show all characters) they show up as an LF and not as CR which even more adds to this mystery. I've rew...
- Tue Feb 12, 2019 7:25 am
- Forum: General Discussion and Questions
- Topic: [SOLVED] PBM file showing /r
- Replies: 4
- Views: 3146
[SOLVED] PBM file showing /r
Hey, I've been using PBM files to load them on an oled (ssd1306). (reading into bytearray and framebuffer it to the screen). All my files i've been using i havent gotten any problems. Now i have a new file made (the same way i always made my pbm files) and (after some testing) i figured out that the...
- Tue Feb 05, 2019 7:45 pm
- Forum: ESP8266 boards
- Topic: [Solved / Workaround] Unix Timestamp
- Replies: 4
- Views: 5086
Re: Unix Timestamp
Thanks but that does not really solve my problem. I'm looking for an Unix timestamp. More info here https://www.unixtimestamp.com/ time.localtime(0) returns a UTC format not an unix timestamp format. Unix timestamp is actually just the seconds till a given date starting from 01-01-1970 00:00. So wha...
- Tue Feb 05, 2019 7:39 am
- Forum: ESP8266 boards
- Topic: [Solved / Workaround] Unix Timestamp
- Replies: 4
- Views: 5086
Re: Unix Timestamp
Not sure what happend to this topic.
Anyways. When i try using your code i'm getting an error:
AttributeError: 'module' object has no attribute 'gmtime'
It seems gmtime is not implemented?
Anyways. When i try using your code i'm getting an error:
AttributeError: 'module' object has no attribute 'gmtime'
It seems gmtime is not implemented?
- Mon Feb 04, 2019 9:50 pm
- Forum: ESP8266 boards
- Topic: [Solved / Workaround] Unix Timestamp
- Replies: 4
- Views: 5086
[Solved / Workaround] Unix Timestamp
Hi, I'm pretty new to programming python. For an api call i'm in need of an unix timestamp. I've figured out i can use ntptime to get the right time registered on my esp8266. [code]import time from ntptime import settime settime() print(time.time())[/code] Now if i print time.time() i'm seeing diffr...