madleech / ArduinoCMRI

Arduino library for connecting your computer to your model railroad.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bits other than 0 not working?

k4kfh opened this issue · comments

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.

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 .