Page 1 of 1

LoPy4 to LoPy4 Push Button on one lights LED on other

Posted: Thu May 26, 2022 1:54 am
by 711brogan@gmail.com
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.

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

Posted: Thu May 26, 2022 6:51 am
by karfas
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.

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

Posted: Thu May 26, 2022 7:31 am
by 711brogan@gmail.com
Ok, thanks for the advice.

Mike.