Hello,
I am working with the CC1110 and built the above schematic: it is basically what is presented in the CC1110 datasheet (p38) plus the CC Debugger wirings.
I have added a LED on P1_0 and I am trying to turn it on as a matter of learning, but without any success...
Based on the template.c example I wrote the following (BIT0 equals to 0x01):
#include "hal_types.h" #include "hal_defs.h" #include "hal_cc8051.h" #include "CC1110.h" int main(void) { P1SEL &= BIT0; // General purpose I/O. P1_0 = 1; P1DIR |= BIT0; // Direction to output. P1_0 = 1; while(1); }