Full Duplex Serial
kt88seamp
Posts: 112
Is this the correct syntax for recieving a byte and having the prop wait for the incoming data? The program I wrote compiles OK but the byte does not show up on the LEDs. All the external circutry I am using on to transmit the byte from my PC to the prop works because I tested it on an SX.
CON _xinfreq = 5_000_000 _clkmode = xtal1 + pll16x OBJ BS2 : "BS2_Functions" SER : "FullDuplexSerial" PUB Main | buffer dira[noparse][[/noparse]0..7] := 255 SER.Start(15, 14, 2, 9600) repeat buffer := SER.rx outa[noparse][[/noparse]7..0] := buffer
Comments