question: LocoNetMessage createSetPacket ( String s ) { int data = Integer . parseInt ( s ) ; LocoNetMessage m = new LocoNetMessage ( 6 ) ; m . setElement ( 0 , 0xDF ) ; m . setElement ( 1 , 0x40 ) ; m . setElement ( 2 , 0x1F ) ; m . setElement ( 3 , data ) ; m . setElement ( 4 , 0x00 ) ; return m ; }
target:  Create a LocoNet packet to set the LocoNet ID.