Welcome, Guest

Author Topic: How send binary number out serial port on Duinomite?  (Read 1289 times)

bvdb

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
How send binary number out serial port on Duinomite?
« on: December 08, 2016, 09:56:39 PM »
Hi Everyone,

I would like to send some binary data out the serial port and to the SD card.  If I send &HFF to the serial port is actually transmits the three ASCII digits 255.   Using MMBasic Ver 4.4

Could really use some hlpe here.

Thanks,

Bert

Mr Hammond

  • Newbie
  • *
  • Posts: 6
  • Karma: +1/-0
Re: How send binary number out serial port on Duinomite?
« Reply #1 on: December 09, 2016, 03:31:32 PM »
Hi,
Try Printing CHR$(&H255);
When I run:
10 PRINT CHR$(&H41);
it displays an A on the screen, which is a single byte of value &H41
Hope that helps