Here is the whole code:
And the route code is unmodified from when you sent it.
I have added the rest of the signal writes.
I have wired the rest of the codebuttons the same way as i did the cancelButton.
Still Cant figure out how to flash the led.
If i put route = 16 in the setup the signal works as it should and also if the block ahead is occupied itll show the proper leds.
And pressing the cancelButton will turn them red.
Pressing the codebutton in order does not make the leds change in any way. I wanted to add the serial print to it but now sure how to go about that.
Thanx
Harrison
newtoupload.ino (15.3 KB)