Yep, that's right Jim. I'm trying to serial.write bits using Arduino's serial/USB hardware. The C sharp has been compiled into a program that monitors the com port and has worked successfully in the past.
From the C# It looks like I should just have to send 13 bytes starting with 33 (which is ASCII for !). Sent from a mobile device. > On Dec 10, 2014, at 1:19 PM, Jim Larson <[email protected]> wrote: > > 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. > www.avast.com > > > _______________________________________________ > dorkbotpdx-blabber mailing list > [email protected] > http://music.columbia.edu/mailman/listinfo/dorkbotpdx-blabber
_______________________________________________ dorkbotpdx-blabber mailing list [email protected] http://music.columbia.edu/mailman/listinfo/dorkbotpdx-blabber
