Search found 7 matches

by cabalist
Tue Feb 07, 2017 7:24 pm
Forum: ESP8266 boards
Topic: Code review request for viper timing
Replies: 1
Views: 1958

Code review request for viper timing

I have a very strong feeling that I am doing this wrong but I've got my code working and was hoping someone could weigh in on this chunk. The following code is used to time bringing a pin high/low for ~5.3 microseconds. send_command is given a number that is converted to binary pulses. (i.e. 170 -> ...
by cabalist
Wed Jan 18, 2017 6:27 am
Forum: ESP8266 boards
Topic: μs timing for pins
Replies: 6
Views: 5394

Re: μs timing for pins

This is gold. Thanks you so much. :)
by cabalist
Wed Jan 18, 2017 3:01 am
Forum: ESP8266 boards
Topic: μs timing for pins
Replies: 6
Views: 5394

μs timing for pins

Hello, I am working on an application that will need to send a 5.25μs +/- .25μs pulse to an old piece of hardware. I have not yet tried this on an oscilloscope but I am curious if anyone has any experience with the timing resolution of writing to esp8266 pins with micropython. On an arduino there is...
by cabalist
Mon Jul 18, 2016 5:07 pm
Forum: General Discussion and Questions
Topic: Get socket.timeout
Replies: 1
Views: 2104

Get socket.timeout

Reading through the docs I can't seem to find a function that is the inverse of socket.settimeout()

How would I find out what a socket's timeout currently is?

Thanks!


Edit: words
by cabalist
Mon Jul 11, 2016 7:45 am
Forum: ESP8266 boards
Topic: Q: Where to put main.py in Custom Firmware?
Replies: 6
Views: 8070

Re: Q: Where to put main.py in Custom Firmware?

Thanks for your reply! That is exactly what I needed to know.
by cabalist
Mon Jul 11, 2016 1:03 am
Forum: ESP8266 boards
Topic: Q: Where to put main.py in Custom Firmware?
Replies: 6
Views: 8070

Q: Where to put main.py in Custom Firmware?

Hello, I am using the NodeMCU to build about 40 units of a device. I am building the ESP8266 firmware for these from source. From what I am reading it appears that the custom libraries I want to use (i.e. urllib.urequest, gzip, my own libraries) are placed in the scripts/ directory. This works and t...
by cabalist
Thu Jun 02, 2016 7:42 pm
Forum: General Discussion and Questions
Topic: import ssl fails
Replies: 8
Views: 8221

Re: import ssl fails

We are having the same issue at the Pycon sprint.

Link to the issue (with a solution) here:
https://github.com/micropython/micropython/issues/2143