simple questions about data streams

Status
Not open for further replies.

klimes

Member
hi there -

i'm new to teensy and microcontrollers in general.

i'm trying to make a control device and running into a bit of a hurdle, i was hoping someone here could help sort me out.

it's been pretty straightforward to attach an analog input and get an an analog output.
the "many_button_knobs" example makes it very clear for how to connect multiple analog inputs for a MIDI controller.

what i'm a little unsure about is how to format the sending of more-than-one channel's serial message..

i'd like to send several concurrent numbers between 0 and 500 - so i think that's 16-bit? other than that, i have no idea how this is done. would different analog inputs be sent on different "data streams"? does anyone have a basic example code of sending two independent messages? maybe something where each analog input would identify itself as "a0, a1, etc.." would be useful - and i could decode the message on the other side based on that labeling?

thanks!
 
Status
Not open for further replies.
Back
Top