Hi,
i am programming some Byte ( midi cc ) but that Byte line dosnt work in the arduino 1.05 :~
Do you know how to convert it from let say 127 byte to a bit?
Hi,
i am programming some Byte ( midi cc ) but that Byte line dosnt work in the arduino 1.05 :~
Do you know how to convert it from let say 127 byte to a bit?
I don't understand your question.
There are a few macros for bit manipulation.
http://arduino.cc/en/Reference/BitWrite
and so on.
Do you mean using the Serial.print(xxxxx, BYTE);
Command?
Newer versions of Arduino don't allow the BYTE type.
Are you using MIDI library or hand coding the MIDI?
Do you know how to convert it from let say 127 byte to a bit?
The question simply does not make sense.
127 bytes represents 1016 bits of information
Even a single byte containing the value 127 represents eight bits of information.
The old system of sending MIDI used to use:-
Serial.print(value, BYTE);
Now you have to use:-
Serial.write(value);