I am doing a project now that involves ... some adxl204 accelerometers and vegetronix soil moisture sensor.
I want to set up the network with 2 sensor nodes, 1 router, and a coordinator connected to a computer.
I already made a program for my sensor nodes see below(check if it's correct)
I don't know how to start to program the router and coordinator
so that they can receive the sense values from the 2 end nodes.