LoPy4 to LoPy4 Push Button on one lights LED on other

Showroom for MicroPython related hardware projects.
Target audience: Users wanting to show off their project!
Post Reply
711brogan@gmail.com
Posts: 2
Joined: Thu May 26, 2022 1:42 am

LoPy4 to LoPy4 Push Button on one lights LED on other

Post by 711brogan@gmail.com » Thu May 26, 2022 1:54 am

Hello,
Any help much appreciated.
I have two Pycom LoPy4 boards. I am trying to make the following work with a direct LoRa connection (P2P) between the two boards.
I want to have 3 buttons connected on one LoPy4 board that will light up a designated LED on another LoPy4 board.
For example,
LoPy4(A) button1 when pressed will light LED1 on LoPy4(B)
LoPy4(A) button2 when pressed will light LED2 on LoPy4(B)
LoPy4(A) button3 when pressed will light LED3 on LoPy4(B)

If anyone can help me with the micro python code I will be most appreciative and be sure to place a credit within the device.

Thanks for reading.
Mike.

User avatar
karfas
Posts: 193
Joined: Sat Jan 16, 2021 12:53 pm
Location: Vienna, Austria

Re: LoPy4 to LoPy4 Push Button on one lights LED on other

Post by karfas » Thu May 26, 2022 6:51 am

Nobody here will write your application for you (except you pay for it).

You might get better support for PyCom's micropython variant in their forum. I assume they will also have better support for PyCom's hardware than stock micropython has, because the source of PyCom's extensions can't be used in stock micropython on license reasons.
A few hours of debugging might save you from minutes of reading the documentation! :D
My repositories: https://github.com/karfas

711brogan@gmail.com
Posts: 2
Joined: Thu May 26, 2022 1:42 am

Re: LoPy4 to LoPy4 Push Button on one lights LED on other

Post by 711brogan@gmail.com » Thu May 26, 2022 7:31 am

Ok, thanks for the advice.

Mike.

Post Reply