madleech / ArduinoCMRI

Arduino library for connecting your computer to your model railroad.
27 stars 18 forks source link

Bits other than 0 not working? #4

Closed k4kfh closed 8 years ago

k4kfh commented 8 years ago

I'm not 100% sure if this is a bug or if it's just me doing something wrong, but I can only get bit 0 to work. I've got some if statements that deal with the results, and one works and the others don't.

Is there perhaps a better documented example of many outputs? The comments in the example there now are a little lacking.

k4kfh commented 8 years ago

Never mind. It's not a bug. I can't read and I used cmri.get_byte(1) instead of cmri.get_bit(1). Sorry .