Search found 410 matches
- Sat Aug 25, 2018 4:40 am
- Forum: ESP32 boards
- Topic: Neopixel issue
- Replies: 3
- Views: 2496
Re: Neopixel issue
Do you happen to be using an ESP32? There's an issue on that port that many Neopixels behave similarly to what you describe unless you pass a 'timing=True' when you instantiate the Neopixel class. See #159 on the old ESP32 port repo for details. So try something like: pixel_strip = neopixel.NeoPixel...
- Sun Aug 05, 2018 2:04 pm
- Forum: ESP32 boards
- Topic: ESP32 - update clock after boot
- Replies: 11
- Views: 9859
Re: ESP32 - update clock after boot
The error is misleading but I've come across it before; I see it when there is no internet connection.
To connect to your wifi:
To connect to your wifi:
Code: Select all
import network
wlan = network.WLAN(network.STA_IF)
wlan.active(True)
wlan.connect('YourWifiSsid', 'yourwifipassword')
- Tue Jul 31, 2018 1:05 pm
- Forum: Drivers for External Components
- Topic: Neo7Segment Driver
- Replies: 0
- Views: 1662
Neo7Segment Driver
I've recently been playing with Unexpected Maker's Neo7Segment displays. They're a neat 7-segment module made up of NeoPixels. So now there's a MicroPython driver for the Neo7Segment . :) It's bare-bones at the moment; I intend to improve the encapsulation of the segment mapping, add colour fading a...
- Tue Jul 31, 2018 12:34 pm
- Forum: ESP32 boards
- Topic: Any resources to help me work collaborately with MicroPython's main team?
- Replies: 5
- Views: 3204
Re: Any resources to help me work collaborately with MicroPython's main team?
@pythoncoder's suggestions are, as always, excellent. In particular, a lot happens under the radar amongst the issues in Github . I'm not one that typically learns well from video's but a few things clicked when Damien George - creator of MicroPython - presented how to Wrap a C module in MicroPython...
- Sun Jul 22, 2018 8:20 am
- Forum: ESP32 boards
- Topic: ESP32 - update clock after boot
- Replies: 11
- Views: 9859
Re: ESP32 - update clock after boot
`ntptime` is alluded to in the ESP8266 docs but, you're right, it's not been well documented. As best I can tell it's only in the ESP8266 and ESP32 ports (and a different implementation in the Loboris fork as Dave mentioned). Since it's a pure python implementation it could be easily added to any of...
- Sat Jul 21, 2018 2:27 pm
- Forum: ESP32 boards
- Topic: ESP32 - update clock after boot
- Replies: 11
- Views: 9859
Re: ESP32 - update clock after boot
There is primitive NTP support in the ESP32 port (borrowed from the ESP8266 port). In short:
Caveat: There is no timezone support so the system time will be set to UTC.
Code: Select all
import ntptime
ntptime.settime() # Synchronise the system time using NTP
- Tue Jul 17, 2018 12:45 pm
- Forum: General Discussion and Questions
- Topic: Wrapper for existing C-Library
- Replies: 6
- Views: 4512
Re: Wrapper for existing C-Library
We recently recorded Damien giving a talk titled Wrap a C module in MicroPython at our June Melbourne MicroPython Meetup. Sounds relevant for what you're asking!
@deshipu also wrote some MicroPython Development Documentation that covered similar ground.
@deshipu also wrote some MicroPython Development Documentation that covered similar ground.
- Tue Jul 17, 2018 6:15 am
- Forum: General Discussion and Questions
- Topic: The Melbourne MicroPython Meetup blog
- Replies: 7
- Views: 4320
Re: The Melbourne MicroPython Meetup blog
I hadn't - and it looks like a neat addition. Thanks @pythoncoder!
- Tue Jul 17, 2018 12:53 am
- Forum: ESP32 boards
- Topic: Putty is slow
- Replies: 5
- Views: 4361
Re: Putty is slow
Sounds very much like flow control, as @Roberthh mentioned.
To clarify, Flow Control, in the Connection/Serial category, needs to be set to None:
To clarify, Flow Control, in the Connection/Serial category, needs to be set to None:
- Mon Jul 16, 2018 11:39 pm
- Forum: General Discussion and Questions
- Topic: The Melbourne MicroPython Meetup blog
- Replies: 7
- Views: 4320
Re: The Melbourne MicroPython Meetup blog
It looks mostly correct @deshipu. The only point that jumped out was the directories have changed a little (specifically: ports are now in ports ). I raised a quick PR . And although perhaps not finished , it's a valuable resource! As time allows I'll be sure to update it rather than create my own.