Hi all,
after getting my LCDs to work here is the next set of questions:
I have an external application (Hauptwerk) that sends configuration messages via sysex. One type of message sends a 28bit signed integer spread over four 7bit-values. So how to combine them into one value? My attempt is value=byte1(MSB)<<21 + byte2<<14+byte3<<7+byte4(LSB), since all bytes represent 7bit integers and the result isexpected 28bit that should work, right?
Related question: Is the int datatype in MIOS8 16bit or 32bit, and if it is 16bit, how do I define a 32bit value (if at all?).
Second question: How do I get the number printed on an LCD? The functions itoa, sprintf, etc. are not part of the framework, so I cannot figure out how to convert a number like 105206 into a string. Anyone can tell me how to do this?
Many thanks!
I really appreciate the support by this forum!
Best
Reiner