Search found 2530 matches

by Roberthh
Fri Apr 09, 2021 5:11 pm
Forum: Drivers for External Components
Topic: Variable wird nicht übergeben
Replies: 2
Views: 77

Re: Variable wird nicht übergeben

Add the line

global sendung

Into int_handler() at the top.
by Roberthh
Fri Apr 09, 2021 9:08 am
Forum: ESP32 boards
Topic: Compiling with btree module support
Replies: 13
Views: 393

Re: Compiling with btree module support

Btree is included now. You should have it in the daily build tomorrow.
by Roberthh
Fri Apr 09, 2021 6:47 am
Forum: ESP32 boards
Topic: Trying to connect HUZZAH32 ESP32 Feather to WIFI
Replies: 2
Views: 98

Re: Trying to connect HUZZAH32 ESP32 Feather to WIFI

after 'wlan.connect('ssid', 'password')' the connection does not happen immediately. You have to wait until the device is connected, checking with wlan.isconnected(). You can set the ip address before calling wlan.connect(). Then that one is used right from the start. P.S.: That's the script I use a...
by Roberthh
Thu Apr 08, 2021 6:13 pm
Forum: ESP32 boards
Topic: Compiling with btree module support
Replies: 13
Views: 393

Re: Compiling with btree module support

The btree module is about to be included again for the ESP32. Damien is working on it.
by Roberthh
Thu Apr 08, 2021 5:12 pm
Forum: Raspberry Pi microcontroller boards
Topic: machine.UART how to skip read?
Replies: 2
Views: 110

Re: machine.UART how to skip read?

Update the Firmware to the newest daily build. The read() is non-blocking.
by Roberthh
Thu Apr 08, 2021 3:12 pm
Forum: General Discussion and Questions
Topic: RGB led problem
Replies: 6
Views: 145

Re: question

Everything is fine. Just the way LED is connected, led.value(0) switched the led ON, led.value(1) switches it OFF.
by Roberthh
Thu Apr 08, 2021 2:07 pm
Forum: General Discussion and Questions
Topic: RGB led problem
Replies: 6
Views: 145

Re: question

Assuming you have the common anode at 3.3V it should work. Two notes: - led.on() and led.off() are confusing API names, since led.on() switches the output to high level, and led.off() to low level. So led.off() should switch the led on, and the opposite. But it should switch. I prefer to specify the...
by Roberthh
Thu Apr 08, 2021 1:17 pm
Forum: General Discussion and Questions
Topic: RGB led problem
Replies: 6
Views: 145

Re: question

People here are not very good at remote mind reading, so we need more technical details.
Please tell us,

- which RGB led you are use
- how you connected it to the ESP32 board and
- which python commands you used.
by Roberthh
Wed Apr 07, 2021 11:53 am
Forum: General Discussion and Questions
Topic: Accessing /dev/ttyUSB0 from the micropython unix port
Replies: 5
Views: 126

Re: Accessing /dev/ttyUSB0 from the micropython unix port

That's interesting. You still need the circuitry to make the TX pin open drain.
For access to the board you would need something like pyserial. I found that link: https://pypi.org/project/micropython-serial/, but could not get it working instantly.
by Roberthh
Wed Apr 07, 2021 6:17 am
Forum: General Discussion and Questions
Topic: Accessing /dev/ttyUSB0 from the micropython unix port
Replies: 5
Views: 126

Re: Accessing /dev/ttyUSB0 from the micropython unix port

Is this possible? No, it's not. The UART protocol and the DS18B20 protocol are completely different. UART uses a character tieming with start bit/5-9 data bits and stop bit, and deidcated input and output mode lines, while Onewire uses a single data line for both input and output, a bit timing swit...