Search found 2758 matches

by Roberthh
Sun Jul 25, 2021 3:05 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 75
Views: 19399

Re: Teensy 4.0 & 4.1

A daily build is supposed to be at https://micropython.org/download/all/. Obviously that does not contain the features that are under construction.
by Roberthh
Sun Jul 25, 2021 10:31 am
Forum: General Discussion and Questions
Topic: Different time settings under the same loop
Replies: 5
Views: 76

Re: Different time settings under the same loop

You can set up timers which call at regular intervals a function for doing what should done. Set the class machine.Timer.
https://docs.micropython.org/en/latest/ ... ne%20timer
These timer have to set up once and works completely independent from other tasks.
by Roberthh
Sun Jul 25, 2021 10:25 am
Forum: Development of MicroPython
Topic: Minor potential inconsistency in the documentation
Replies: 3
Views: 61

Re: Minor potential inconsistency in the documentation

@christian walther: The ESP8266 had hard interrupts, and I used and needed them for a project. It was a pity that this feature was dropped.
by Roberthh
Sun Jul 25, 2021 10:22 am
Forum: Development of MicroPython
Topic: Minor potential inconsistency in the documentation
Replies: 3
Views: 61

Re: Minor potential inconsistency in the documentation

I do not see a problem here. You post states correctly that there is not inconsistency in the documentation. Only not all possible variants of setting up a Pin interrupt are shown as examples. If you want to raise an issue or submit a PR for additions to the documentation: The link to the Micropytho...
by Roberthh
Sat Jul 24, 2021 7:54 pm
Forum: General Discussion and Questions
Topic: I2C.scan() not returning slave addresses
Replies: 7
Views: 121

Re: I2C.scan() not returning slave addresses

I cannot help you with these boards or Zephyr. The only thing obvious from the error messages is, that the I2C device is not connected, whether the culprit is hardware or software.
by Roberthh
Sat Jul 24, 2021 5:01 pm
Forum: General Discussion and Questions
Topic: I2C.scan() not returning slave addresses
Replies: 7
Views: 121

Re: I2C.scan() not returning slave addresses

If it just return the empty list, then there is no connection to the I2C device, and you will not be able to use it. Check the cables, pull_up resistors, etc,
by Roberthh
Fri Jul 23, 2021 8:06 pm
Forum: Raspberry Pi microcontroller boards
Topic: How send string from PC to RP2040?
Replies: 6
Views: 170

Re: How send string from PC to RP2040?

Readline expects a newline character Ctrl-J for termination. You can also use sys.stdin,read(1) to get a single character.
by Roberthh
Thu Jul 22, 2021 10:35 am
Forum: Raspberry Pi microcontroller boards
Topic: How send string from PC to RP2040?
Replies: 6
Views: 170

Re: How send string from PC to RP2040?

USB is not UART. Since you use the normal USB interface, you could sys.stdout.write() for sending (or just print), and sys.stdin.readline() for receiving.
by Roberthh
Wed Jul 21, 2021 6:00 am
Forum: Raspberry Pi microcontroller boards
Topic: Storing data into RP2040 flash
Replies: 15
Views: 444

Re: Storing data into RP2040 flash

According to Adafruit their rp2040 device come with 8 MB flash. The initial plans were for 4 MB, but they changed it due to better allocation for 8 MB chips. There was a note in the forum about that fact.
by Roberthh
Tue Jul 20, 2021 1:34 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 75
Views: 19399

Re: Teensy 4.0 & 4.1

Thanks for testing: I used uftpd as well for testing, and a simple udp echo server (script below), and ping in and out.. I did not find a similar host for further testing. For uftpd, you had to remove or change the LAN object instantiation, since it is already present before starting uftpd. About gi...