Should that not be 255 instead of 256? A solid 1.0 returns otherwise an overflow for the neopixel buffer (off instead of full bright)Code: Select all
return (int(r*256), int(g*256), int(b*256))
Search found 220 matches
- Tue Feb 07, 2017 8:00 am
- Forum: Hardware Projects
- Topic: Driver for WS2812 RGB LEDs (NeoPixels, ...)
- Replies: 30
- Views: 105926
Re: Driver for WS2812 RGB LEDs (NeoPixels, ...)
Just a side note:
- Mon Feb 06, 2017 3:44 pm
- Forum: Development of MicroPython
- Topic: hiding python code on the board
- Replies: 21
- Views: 18039
Re: hiding python code on the board
I wrote this in a similar context already. It is always about how "secure" something should be. This is a typical 80%-20% problem You have to invest 20% of your resources (time, work, clever ideas and hacks) to make it secure against 80% of all possible attackers. From there you have to spend 80% of...
- Mon Feb 06, 2017 8:59 am
- Forum: ESP8266 boards
- Topic: Sonoff Touch with ESP8285 and Micropython
- Replies: 9
- Views: 9906
Re: Sonoff Touch with ESP8285 and Micropython
@cartere: Thanks for the input. From what I read, I have to use dio, since the internal flash rom is connected in the "Dual I/O" mode (-fm dio). I don't think that anything on the hardware site is going wrong, since I can upload arduino-based firmwares without a problem. It has to do something with ...
- Sat Feb 04, 2017 2:21 pm
- Forum: ESP8266 boards
- Topic: Sonoff Touch with ESP8285 and Micropython
- Replies: 9
- Views: 9906
Re: Sonoff Touch with ESP8285 and Micropython
Hi, @kfricke thanks for looking into it. I looked a bit more into it. Indeed the oscillator on the PSF-A85 (which I believe is what they soldered on the sonoff touch) is a 26MHz version. And that should be e.g. identical with the WeMos units. Thus, different or strange baud rates could not be the re...
- Thu Feb 02, 2017 10:47 pm
- Forum: ESP8266 boards
- Topic: Sonoff Touch with ESP8285 and Micropython
- Replies: 9
- Views: 9906
Re: Sonoff Touch with ESP8285 and Micropython
Seems to be a micropython problem. Today I tried an arduino sketch without problem. Serial terminal of the arduino ide as well as picocom worked at 115200 baud. Could be a problem of the external oscillator being 24 MHz instead of the usual 40MHz? Flashing seemed to work, verifying was okay, copied ...
- Thu Feb 02, 2017 4:04 pm
- Forum: ESP8266 boards
- Topic: connecting to open wifi access point?
- Replies: 12
- Views: 12717
Re: connecting to open wifi access point?
After weeks you are telling us, that we help you to hijack a wifi connection
Did the other AP use the same ssid as the old one?
Do try to rename the ssid to the same name.... And see what happens
Did the other AP use the same ssid as the old one?
Do try to rename the ssid to the same name.... And see what happens
- Thu Feb 02, 2017 8:43 am
- Forum: ESP8266 boards
- Topic: New chip ESP8285
- Replies: 32
- Views: 39908
Re: New chip ESP8285
Hi, sorry for reanimation of this old thread. Could someone with a ESP8285 or even better a PSF-A85 from itead.cc comment on the problem I observed with the connection via serial to the REPL. Described here http://forum.micropython.org/viewtopic.php?f=16&t=2980 . I only receive garbage for any possi...
- Wed Feb 01, 2017 5:37 pm
- Forum: ESP8266 boards
- Topic: connecting to open wifi access point?
- Replies: 12
- Views: 12717
Re: connecting to open wifi access point?
connection data is stored in permanent flash memory. A reboot or power cycle will not help.
To proof kfrickes thesis, rename the AP ssid to something new and definitively unknown before and try again.
To proof kfrickes thesis, rename the AP ssid to something new and definitively unknown before and try again.
- Wed Feb 01, 2017 3:33 pm
- Forum: ESP8266 boards
- Topic: Sonoff Touch with ESP8285 and Micropython
- Replies: 9
- Views: 9906
Sonoff Touch with ESP8285 and Micropython
Hi, did someone already try to get Micropython running on the itead.cc SonSoff Touch wall light switch. I managed to flash micropython on the (what looks to me like the PSF-A85 from itead.cc) board. Some people reported here that they managed to get MP running on that board. However, I can't get a R...
- Thu Jan 26, 2017 9:28 am
- Forum: Development of MicroPython
- Topic: Latest MicroPython compilation fails when compiling axetls because of -Werror use
- Replies: 9
- Views: 7455
Re: Latest MicroPython compilation fails when compiling axetls because of -Werror use
EDIT: Sorry I overlooked the point... thought compilation failed for you.
Hi,
but this is just a warning. Gcc spits out many of them without real consequences.
If gcc fails there should be an error somewhere.
Hi,
but this is just a warning. Gcc spits out many of them without real consequences.
If gcc fails there should be an error somewhere.