Search the Community
Showing results for tags 'GPIO'.
Hi, I've spent the last few days trying to migrate to BoostC but it seems that 6bit GPIO chips are not fully implemented. OS WIn7SourceBoost IDE 7.0512F683 The comparator uses GP0,GP1,GP2 and an internal voltage reference to function. It can be configured in many ways but it's output (COUT) is always available as bit6 of the CMCON0 register. CMCON0 : [u] [cout] [u] [cinv] [cis] [cm2] [cm1] [cm0] (page 56 of the 12F683 pdf - 41211d) I'm setting the comparator up in mode 6 (cm2:0<110>) for the first example and mode 5 (cm2:0<101>) for the