I don't understand how to wire SerialActiveMessage on telosb in tinyos2.1 to use the second Uart :from msp430 to external connector .At this connector (U2) I connect C328R (http://www.electronics123.com/s.nl/it.A/id.2785/.f?sc=1&category=-101 ) a vga camera module which need to make a connection 14400bps.So my questions are : How to use SerialActiveMessageC with the second uart ? How to change the speed of the uart runtime ? At the moment I do configuration GestioneC{ } implementation{ components Camera,MainC,GestioneP; components SerialActiveMessageC; components SerialDispatcherC as serial0; components new TimerMilliC() as Timer0; GestioneP.Boot ->MainC; GestioneP.parti -> Camera.parti; Camera.Timer0 ->Timer0; Camera.SplitControl->serial0; Camera.Send -> serial0.Send[1]; Camera.Receive ->serial0.Receive[1]; } --------------------------------------------------------------------------------------------------------------------------------------- module Camera{ provides { command void parti(); }; uses { interface Send; interface Receive; interface SplitControl; interface Timer<TMilli> as Timer0;; } } implementation{.................................
Thank in advance Giorgio _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
