Author |
Message |
Topic: port B interrupts on pic 16f1829 |
JB
Replies: 4
Views: 13499
|
Forum: General CCS C Discussion Posted: Tue Sep 20, 2011 8:24 am Subject: port B interrupts on pic 16f1829 |
the compiler is 4.124
there are no INT_ RB in 16f1829.h
so the compiler chokes on the code
with
Undefined identifier INT_RB
I am sure it would work with the correct include file
I a ... |
Topic: port B interrupts on pic 16f1829 |
JB
Replies: 4
Views: 13499
|
Forum: General CCS C Discussion Posted: Mon Sep 19, 2011 3:47 pm Subject: port B interrupts on pic 16f1829 |
The data sheet talks about interrupts on port 'B' for this device
yet the H file does not have an INT_RB or any INT_RBx #define statements.
Hummm. is this right or how do I fix it?
any help on ... |
Topic: using AD5063 |
JB
Replies: 1
Views: 4066
|
Forum: General CCS C Discussion Posted: Mon Aug 15, 2011 11:09 pm Subject: using AD5063 |
I am looking for example code for this device.
It is a 16 bit D->A converter.
Haven't seen a driver or example anywhere.
JB |
Topic: Unable to printf an int16 on pic12f509 |
JB
Replies: 1
Views: 4674
|
Forum: General CCS C Discussion Posted: Tue Aug 26, 2008 10:47 am Subject: it works on a 18f4550 |
this code works
#include <18f4550.h>
#fuses HSPLL,NOWDT,NOPROTECT,NOLVP,NODEBUG,USBDIV,PLL5,CPUDIV1,VREGEN,NOPBADEN
#use delay(clock=48000000)
#use rs232(baud=2400, xmit=PIN_ ... |
Topic: Unable to printf an int16 on pic12f509 |
JB
Replies: 1
Views: 4674
|
Forum: General CCS C Discussion Posted: Mon Aug 25, 2008 6:15 pm Subject: Unable to printf an int16 on pic12f509 |
I am unable to printf an int16 on pic12f509 in decimal but it is ok in hex.
I can printf in hex with a %lx
but when I get to the loop printing decimal it prints the Hello World once and then ju ... |
|