[Gambas-user] Serial Port Reading and triggered upon receiving data

KKing kicking177 at gmail.com
Sun May 6 13:12:33 CEST 2018


<<
   ' Assuming you have a SerialPort1 object
   Public Sub SerialPort1_Read()
     Dim iByte As Byte

     iByte = Read #Last, 1
     ' Do something with your byte...
   End

Gambas has builtins for bit manipulation [2].
 >>

Got it, all working. Many thanks

KK



More information about the User mailing list