meta data for this page
Differences
This shows you the differences between two versions of the page.
| automation:code:rp2040_eth_modul_modbus_tcp_example_1 [2026/05/06 21:00] – created vamsan | automation:code:rp2040_eth_modul_modbus_tcp_example_1 [2026/05/06 21:06] (current) – vamsan | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| The RP2040 module has Ethernet integrated, which can be accessed via UART1. This code creates Modbus Holding registers on the module with contents from 1 to 10. | The RP2040 module has Ethernet integrated, which can be accessed via UART1. This code creates Modbus Holding registers on the module with contents from 1 to 10. | ||
| - | < | + | < |
| from machine import UART, Pin | from machine import UART, Pin | ||
| import time | import time | ||
| Line 63: | Line 63: | ||
| time.sleep(0.01) | time.sleep(0.01) | ||
| + | </ | ||
| - | + | This page has been accessed for: Today: {{counter|today}}, | |
| - | </ | + | |