Open GoogleCodeExporter opened 9 years ago
Actually, I've got no idea why the chip is labeled BIN and not BIM.
Original comment by pe...@stairways.com.au
on 24 Feb 2012 at 8:59
If Print.h did this before it defined BIN as 2, we'd still have a warning
message but no ambiguity:
#ifdef BIN
#warning "ADCSRB BIN defined; re-defining as BIM"
#define BIM 7
#undef BIN
#endif
Original comment by n...@bike-nomad.com
on 28 Jul 2013 at 5:34
I contacted Atmel tech support and this was their response.
"As per the latest ATtiny85 datasheet section 17.13.4 ADCSRB – ADC Control
and Status Register B, page 137, bit 7 of ADCSRB register is BIN, which stands
for bipolar input.
http://www.atmel.com/devices/ATTINY85.aspx
Therefore #define BIN 7 in iotnx5.h is a valid statement and should throw
redefinition warning when re defined some where else."
I tend to agree that it makes more sense to have BIN be 2, but they make the
chips so they get to make the rules? I am going to edit my copy of Print.h to
change BIN to BINARY.
Original comment by davidleh...@gmail.com
on 17 Feb 2015 at 9:07
Original issue reported on code.google.com by
pe...@stairways.com.au
on 24 Feb 2012 at 8:22