I don't use PicBasic.Code:WRITE 2,NeutreC.lowbyte WRITE 1,NeutreC.highbyte WRITE 4,GaucheC.lowbyte WRITE 3,GaucheC.highbyte WRITE 6,DroiteC.lowbyte WRITE 5,DroiteC.highbyte WRITE 7,Invert <<<<<<<<< Invert is declared as BIT WRITE 8,Side <<<<<<<<< Side is declared as BIT
Will "WRITE" support the BIT data type?
Try to declare the variables Invert and Side as BYTE.
Best regards,
Luciano
Bookmarks