meta data for this page
  •  

This is an old revision of the document!


lamaPLC: Code!

MicroPython example codes

Example codes for the RP2040_ETH_Module

Modbus TCP exampleThe 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.
Modbus TCP snifferThe program receives and analyses incoming TCP Modbus telegrams, but does not respond.
I2C scannerThe program scans the addresses of devices connected via I²C.

This page has been accessed for: Today: 4, Until now: 17