by yonghui » Mon Apr 25, 2011 7:42 pm
hi,
u can for example, preprogram the main controller with some tasks tat u want main controller to do. but the the task is not immediately run on power up of the main board, but it waits for command from xbee.
lets say
command task
'A' display "xbee communication sucessful" on IFC-control panel's LCD
'B' run motors on IFC-brush motor
'C' read analog value from sensor and display the meaning on IFC-control panel.
'R' reset IFC slave cards.
from sk xbee plug on computer. u can send a command out to the IFC-xbee. then main board will read data from IFC-xbee and perform task accordingly.
regards,
yh
thanks®ards,
yh