I am trying to use the comparator on Teensy3.1. I am talking to Teensy over USBSerial. If I do any accesses to the comparator, Serial will not initiate, even if the comparator code is after the Serial.begin(9600).
The program works fine, and then if I add the line:
serial will not initiate. Any ideas? I have additional comparator code which also hangs the system, but even this minimal read does it.
Thanks much,
TLB
The program works fine, and then if I add the line:
Code:
uint8_t testVar;
testVar=CMP0_SCR;
serial will not initiate. Any ideas? I have additional comparator code which also hangs the system, but even this minimal read does it.
Thanks much,
TLB