loading

Arduino xbee coding using 2 button as transmitter and 10 led as receiver?

 For the turn signal code, there is a receiver and transmitter


 For the transmitter code, I want to set 2 button
 When I trigger left signal , Left LEDs will turn on and press again will turn off
 When I trigger right signal , right LEDs will turn on and press again will turn off
 When press both button both signal of LEDs will turn on and press again will turn off

 For the receiver, I would put 5 LEDs on the left and 5 LEDs on the right
 The light would turn on when the buttons are trigger, to have left, right and stop signal


I want to code to be quite similar like
https://www.instructables.com/id/turn-signal-biking-jacket/step5/sew-on-your-turn-signal-LEDs/
but not using arduino lilypad but arudino uno and xbee

Does any one know how to do this coding and schematic, please help thanks!!

iceng2 years ago