Search found 19 matches
- Mon Nov 14, 2022 3:41 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Great Lesson, don't mess up with main.py
- Replies: 4
- Views: 39416
Re: Great Lesson, don't mess up with main.py
I don't much like the format of github for discussions of subjects. There doesn't seem to be a familiar "thread" or "topic" layout which is easy to follow. Instead, to me, it looks more like a free-for-all random approach. A bit like Facebook, but much less organised and intuitive. Here is a user, ...
- Mon Oct 10, 2022 12:13 pm
- Forum: ESP8266 boards
- Topic: how can non-blocking socket instances be implemented
- Replies: 14
- Views: 81551
Re: how can non-blocking socket instances be implemented
It also works with SOCK_DGRAM. Here a testscript: import time import uasyncio as asyncio from uasyncio.stream import Stream from socket import socket, AF_INET, SOCK_STREAM, SOCK_DGRAM, SOL_SOCKET, SO_REUSEADDR from select import select def with_select(ip="0.0.0.0", port=8080, stype=SOCK_DGRAM): inte...
- Tue Aug 30, 2022 4:39 pm
- Forum: General Discussion and Questions
- Topic: Migration Away from MicroPython.org to GitHub?
- Replies: 7
- Views: 41154
Re: Migration Away from MicroPython.org to GitHub?
The original source had a CR-LF between each line, but they are ignored in the standard format. This is normal. Many Forums are doing this + indentation is also lost. Put Code into Code-Tags: ```CODE``` You should read this: https://docs.github.com/en/get-started/writing-on-github/getting-started-w...
- Mon Aug 22, 2022 7:42 am
- Forum: General Discussion and Questions
- Topic: Protest against the registration verification !
- Replies: 8
- Views: 11818
Re: Protest against the registration verification !
The majority of open-source software is hosted on a closed source platform controlled by Microsoft.
I don't like it that everything is moved to a company (Microsoft) controlled platform. If something later changes, you'll regret it.
I don't like it that everything is moved to a company (Microsoft) controlled platform. If something later changes, you'll regret it.
- Sat Aug 20, 2022 6:47 pm
- Forum: General Discussion and Questions
- Topic: Protest against the registration verification !
- Replies: 8
- Views: 11818
Re: Protest against the registration verification !
I thought I was the only one who had trouble recognizing the captcha. My eyes are still OK, though. On the second try, I just looked at the picture in magnification.
- Wed Aug 17, 2022 1:20 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Pico W Micro Python MQTT of data to a RP4B
- Replies: 62
- Views: 572058
Re: Pico W Micro Python MQTT of data to a RP4B
It would be nice to be able to look at the Pico W and see a regular "heartbeat" to confirm it's still alive and working, and then do the more lengthy flashing routine I have it doing as it is transmitting data to my Pi. My overengineered example with Software Timers: import time from machine import...
- Tue Aug 16, 2022 3:57 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Pico W Micro Python MQTT of data to a RP4B
- Replies: 62
- Views: 572058
Re: Pico W Micro Python MQTT of data to a RP4B
A colleague of mine says you can only MQTT string type variables and said "look at all the examples online, they are ALL strings. Nobody ever passes numbers let alone floats!". Yes. The implementation from paho.mqtt requires for publishing messages one str for the Topic (which is converted to bytes...
- Mon Aug 15, 2022 9:26 am
- Forum: Programs, Libraries and Tools
- Topic: Urequests- What am I doing wrong?
- Replies: 7
- Views: 20642
Re: Urequests- What am I doing wrong?
I had to use a VPN to see the page.
The 400KB SRAM should be enough.
Code: Select all
TTGO T-01C3
Technical details:
MCU : ESP32-C3
CPU : RISC-V 32-bit
Flash : 4Mb
SRAM : 400KB
ROM : 384KB
SRAM in RTC : 8KB
- Sun Aug 14, 2022 1:23 pm
- Forum: Programs, Libraries and Tools
- Topic: Urequests- What am I doing wrong?
- Replies: 7
- Views: 20642
Re: Urequests- What am I doing wrong?
ESP01 is a ESP8266: SRAM: < 36kB Flash-Memory: 512kB or 1MB Pico W (RP2040): SRAM: 264 KB Flash-Memory: 2MB The Raspberry Pi Pico (W) has more SRAM available. On the ESP8266 is only 36 KiB available. The ESP32 is the next generation of the ESP8266 with more SRAM. Use your ESP01 for Applications, wh...
- Sun Aug 14, 2022 11:40 am
- Forum: Programs, Libraries and Tools
- Topic: Urequests- What am I doing wrong?
- Replies: 7
- Views: 20642
Re: Urequests- What am I doing wrong?
I guess the error came from usocket.wrap_socket because of having less memory for the decryption. I have the same problem with my Server, which offers TSL1.3 and using Elliptic Curve. Furthermore, I can use other hosts with different encryption. Since I'm using the WROVER modules with internal SPIRA...