Search found 46 matches

by patvdleer
Thu Jun 16, 2016 8:19 pm
Forum: General Discussion and Questions
Topic: recursion limit
Replies: 13
Views: 13645

Re: recursion limit

You've sparked my curiosity, did you run into a stack overflow? and if so, how? The only actual Lisp I every used was what ReSharper made refactored from what I wrote in C#.
by patvdleer
Wed Jun 15, 2016 11:01 am
Forum: General Discussion and Questions
Topic: dead socket connection
Replies: 0
Views: 3847

dead socket connection

After a few minutes my socket connection seems dead... I have had the same issue with SSH on my laptop, somehow I think my router drops idle connections. Is there any way I can detect this since there isn't an exception raised. The main while True loop keeps running and outputting the temp but the v...
by patvdleer
Tue Jun 14, 2016 10:19 pm
Forum: Drivers for External Components
Topic: MCP9808 High Precision Temperature Sensor
Replies: 16
Views: 21962

Re: MCP9808 High Precision Temperature Sensor

I've updated the code to work on an ESP8266 as well, the I2C works a bit different...
https://github.com/patvdleer/micropython-mcp9808
by patvdleer
Tue Jun 14, 2016 10:35 am
Forum: Drivers for External Components
Topic: MCP9808 High Precision Temperature Sensor
Replies: 16
Views: 21962

Re: MCP9808 High Precision Temperature Sensor

Thanks!

I'm getting mine today delivered, should be a huge improvement over the DHT11s.
by patvdleer
Mon Jun 13, 2016 3:43 pm
Forum: Drivers for External Components
Topic: Interfacing the DHT11/DHT22 Humidity/Temperature sensor
Replies: 7
Views: 22194

Re: Interfacing the DHT11/DHT22 Humidity/Temperature sensor

how about; (haven't really tested it yet) from machine import Pin, enable_irq, disable_irq import time class DHTException(Exception): """ BaseException for DHT """ class DHTArgumentException(DHTException): """ ArgumentException for DHT """ class DHTValueException(DHTException): """ ValueException fo...
by patvdleer
Mon Jun 13, 2016 11:56 am
Forum: ESP8266 boards
Topic: My code in esp8266/scrips/main.py is not working..
Replies: 6
Views: 11202

Re: My code in esp8266/scrips/main.py is not working..

Is there any update on this? I have a similar issue with main.py. #��${$�$ܟ|��{oc��d�s��pp�c䌜���c�lclsdǃr$���#$�#;|�c�㓛ǜ�l��n�og�l$���d��$����d$`�g����c��#���cl�c�l{$s�'����cp��������bd�cd�|b�b��o���b8cĜ�����#l�#d�|#d`�d��|��{r'c��d�p{�#�c서��Ǐ<�cllcl��do�$`Ãl'�p;l�l��|���could not open file 'main.py...