Key deciding: The way it is could make sense if a 0x01 is always returned if no key is pressed. Have to know more about the hardware to know for sure.

Tom, what exactly are you trying to figure out? Is it an Arduino problem or a C# problem? Are you saying you can't change the C#? If that's true, then is the only changeable part the Arduino code? What's your hardware like?

PS: Congrats on the "PE"!


On 12/10/2014 11:48 AM, Brian Richardson wrote:
I think you want to change the lines like this:
if ((pressBytes[row] | 32) == 32)

to this:

if ((pressBytes[row] & 32) == 32)






---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com
_______________________________________________
dorkbotpdx-blabber mailing list
[email protected]
http://music.columbia.edu/mailman/listinfo/dorkbotpdx-blabber

Reply via email to