The following code was posted on testing a 40X1 serial port to scratch memory. The code uses flags that are not ( as far as I can see) in the manuals, in particular HSerInFlag
Is there a master list of flags? Where did this ( these) ones come from?
Main: HSerOut SendNoBreak, ("Waiting...", CR, LF)
HSerPtr = 0 'Reset (background) write pointer
HSerInFlag = 0 'Reset reception indicator
Ptr = 0 'Reset read pointer
@Ptr = 0 'Clear the first scratchpad location
'
Do Until HSerInFlag = 1 'Wait for incoming character (string)
Loop
Is there a master list of flags? Where did this ( these) ones come from?
Main: HSerOut SendNoBreak, ("Waiting...", CR, LF)
HSerPtr = 0 'Reset (background) write pointer
HSerInFlag = 0 'Reset reception indicator
Ptr = 0 'Reset read pointer
@Ptr = 0 'Clear the first scratchpad location
'
Do Until HSerInFlag = 1 'Wait for incoming character (string)
Loop