santook
Member
Whether you can allow AsyncStream to support a new property ‘NewLine’?
Likes:
aStream.Initialize(Serial1.Stream,"aStream_NewData","aStream_Error")
aStream.WaitForMoreDataDelay=1
aStream.NewLine=Array of Byte(0xFF,0xFC,0xFF,0xFF)
If newline arrives, trigger aStream_NewData Event.This can make the serial communication protocol processing easier.
Likes:
aStream.Initialize(Serial1.Stream,"aStream_NewData","aStream_Error")
aStream.WaitForMoreDataDelay=1
aStream.NewLine=Array of Byte(0xFF,0xFC,0xFF,0xFF)
If newline arrives, trigger aStream_NewData Event.This can make the serial communication protocol processing easier.