Topic RSS
Send HEX by serial
October 6, 2015
10:53 pm
10:53 pm
sotovasquezandres@gmail.com
Member
Members
Forum Posts: 8
Member Since:
May 27, 2015
May 27, 2015
Offline
October 6, 2015
11:23 pm
11:23 pm
Steffan
Admin
Forum Posts: 408
Member Since:
March 12, 2015
March 12, 2015
Offline
Notice the coercion dot on the Serial Write function. Im guessing you did not wire a U8 array, rather a U32 array, which the Compiler will cast to an 8-bit array. So that means it will send 0x00 00 00 AA (for 0xAA), etc. but will only send out the number of bytes equal to the number of elements in the array, which looks like what you got. Simple change the datatype of your constant array to U8.
Forum Timezone: UTC 0
Most Users Ever Online: 100
Currently Online:
31
31
Guest(s)
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
miche91: 33
scottj: 28
scadao: 23
Member Stats:
Guest Posters: 5
Members: 202
Moderators: 0
Admins: 3
Forum Stats:
Groups: 1
Forums: 2
Topics: 266
Posts: 1222
Newest Members:
pujacontrolAdministrators: geadmin: 22, filipealtoe: 96, Steffan: 356
© Simple:Press —