Search found 24 matches
- Thu Oct 29, 2015 3:04 pm
- Forum: Programs, Libraries and Tools
- Topic: urllib / urequests for Micropython
- Replies: 31
- Views: 45293
Re: urllib for Micropython
Ah of course, I don't work in python3 much so I completely forgot about that.
- Thu Oct 29, 2015 2:07 pm
- Forum: Programs, Libraries and Tools
- Topic: urllib / urequests for Micropython
- Replies: 31
- Views: 45293
Re: urllib for Micropython
Confirmed on the SSL, new version committed with that fix.
I'll see if I can put together some test cases for the weird memory errors I got while testing. I think it might be unicode related too.
Re: unicode support, it is mostly related to the "unicode" type (doesn't seem to exist).
I'll see if I can put together some test cases for the weird memory errors I got while testing. I think it might be unicode related too.
Re: unicode support, it is mostly related to the "unicode" type (doesn't seem to exist).
- Thu Oct 29, 2015 1:23 pm
- Forum: Programs, Libraries and Tools
- Topic: urllib / urequests for Micropython
- Replies: 31
- Views: 45293
urllib / urequests for Micropython
UPDATE for moderators: urllib.urequest and urequests modules are now available in the MicroPython's standard library, micropython-lib: https://github.com/micropython/micropython-lib/tree/master/urllib.urequest https://github.com/micropython/micropython-lib/tree/master/urequests =====================...
- Tue Oct 27, 2015 2:05 pm
- Forum: WiPy and CC3200 boards
- Topic: Network, serial setup at boot
- Replies: 11
- Views: 12153
Re: Network, serial setup at boot
Thanks! It was based on Arik's code above (and definitely worked before). I'll fix and try again.
- Tue Oct 27, 2015 1:50 pm
- Forum: WiPy and CC3200 boards
- Topic: Network, serial setup at boot
- Replies: 11
- Views: 12153
Re: Network, serial setup at boot
I updated my wipy yesterday with the onewire fix, but having trouble with wlan now. I had it configured to connect to my wifi on boot using basically the same code here, but now it doesn't work. I tried doing it separately but now I get: >>> from network import WLAN >>> from os import dupterm >>> fr...
- Mon Oct 26, 2015 11:19 pm
- Forum: WiPy and CC3200 boards
- Topic: Onewire and DS18B20
- Replies: 42
- Views: 57127
Re: Onewire and DS18B20
It works (tried using the new library that Damien supplied)
Thank you very much guys, now to actually make something awesome with it.
Thank you very much guys, now to actually make something awesome with it.
- Thu Oct 22, 2015 9:56 pm
- Forum: WiPy and CC3200 boards
- Topic: Onewire and DS18B20
- Replies: 42
- Views: 57127
Re: Onewire and DS18B20
Just spotted some interesting discussion in the micropython board forum: http://forum.micropython.org/viewtopic.php?f=6&t=903
The library breaks with cpus under 120mhz, which might explain what is going on!
The library breaks with cpus under 120mhz, which might explain what is going on!
- Thu Oct 22, 2015 7:45 pm
- Forum: WiPy and CC3200 boards
- Topic: Onewire and DS18B20
- Replies: 42
- Views: 57127
Re: Onewire and DS18B20
I got a new sensor, still having the same issue.
I've committed a small fix to the code based on what I learned from the reset pulse but it hasn't helped.
I've committed a small fix to the code based on what I learned from the reset pulse but it hasn't helped.
- Thu Oct 22, 2015 8:06 am
- Forum: WiPy and CC3200 boards
- Topic: Sending email
- Replies: 36
- Views: 188252
Re: Sending email
urllib is another library that would be useful, I was planning to use a rest api to push data from the wipy to a central system.
I had a brief play with it because I figure it is 99% sockets and it is pure python, but if you already have something working that would be great.
I had a brief play with it because I figure it is 99% sockets and it is pure python, but if you already have something working that would be great.
- Thu Oct 22, 2015 7:50 am
- Forum: WiPy and CC3200 boards
- Topic: Onewire and DS18B20
- Replies: 42
- Views: 57127
Re: Onewire and DS18B20
I need to get a new sensor (been busy for the last couple of weeks at work). I realised I had it wired wrong and I think I have cooked it.
With my suspected broken sensor, I am getting the reset pulse now but not getting any data from it.
With my suspected broken sensor, I am getting the reset pulse now but not getting any data from it.