Search found 1 match

by titous
Fri Aug 18, 2017 11:53 am
Forum: General Discussion
Topic: send uart struct
Replies: 1
Views: 3574

send uart struct

I'm trying to send a struct over UART to be processed by python by using this guide. // we send this to the host, to be processed by python script struct package { uint8_t modifier; uint8_t keyboard_keys[6]; }; // instantiate struct package to_send = {}; // send the contents of keyboard_keys and key...