Author |
Message |
Topic: INT_RA - invalid pre-processor directive |
delene
Replies: 1
Views: 5553
|
Forum: General CCS C Discussion Posted: Wed Nov 13, 2013 6:04 am Subject: INT_RA - invalid pre-processor directive |
Hi
I am running version 4.135 and am trying to use INT_RA.
When I do, I get the following error - Invalid pre-processor directive
I am trying to use a PIC16f877a and a pic18f452.
How do I ge ... |
Topic: Wireless Temperature Sensor |
delene
Replies: 4
Views: 6223
|
Forum: General CCS C Discussion Posted: Thu Nov 08, 2012 8:51 am Subject: Wireless Temperature Sensor |
Height of laziness I know but I am looking for a wireless temperature sensor that I can interface to a pic micro controller.
I have googled it and am not having any joy in finding one, so thought I ... |
Topic: multi 24lc128s |
delene
Replies: 1
Views: 4333
|
Forum: General CCS C Discussion Posted: Tue Sep 18, 2012 2:30 am Subject: multi 24lc128s |
Hi
I recently upgraded my compiler to version 4.135 and now I have a problem. (Please don't ask how old the previous version was - you will be horrified - it goes back to one of the early 3 versio ... |
Topic: PIC18f4523 |
delene
Replies: 5
Views: 8668
|
Forum: General CCS C Discussion Posted: Tue Jan 10, 2012 9:18 am Subject: PIC18f4523 |
Hi RF Developer...
I tried out your code - and made a note about the while statement, and unfortunately it still doesn't work. As soon as I put power to the board, it is on - just waiting for the ... |
Topic: PIC18f4523 |
delene
Replies: 5
Views: 8668
|
Forum: General CCS C Discussion Posted: Tue Jan 10, 2012 6:38 am Subject: PIC18f4523 |
What you are saying makes sense, but I am a little uncertain as to how to use the output_drive.
My exisiting code is
StartUp:
if (input(PIN_A4)) // Scale turned on ... |
Topic: PIC18f4523 |
delene
Replies: 5
Views: 8668
|
Forum: General CCS C Discussion Posted: Tue Jan 10, 2012 4:38 am Subject: PIC18f4523 |
I had my code all working perfectly on the 16f877A and the 18f452. I then decided to change to the 18f4523 and with a few tweeks have gotten it to work, but I do have some hassles.
I have a membra ... |
Topic: Resistors |
delene
Replies: 2
Views: 4181
|
Forum: General CCS C Discussion Posted: Thu Nov 10, 2011 6:13 am Subject: Resistors |
If I have one load cell connected to my board I want to use this resistor value and enable pin_a0.
If I have two load cells connected to my board, I want to this resistor value and enable pin_a1.
An ... |
Topic: 4x4 matrix keypad with interrupts |
delene
Replies: 3
Views: 11609
|
Forum: General CCS C Discussion Posted: Mon Nov 07, 2011 11:54 pm Subject: 4x4 matrix keypad with interrupts |
Thanks Everyone
I eventually came right. I used this code
http://www.ccsinfo.com/forum/viewtopic.php?t=19726 |
Topic: 4x4 matrix keypad with interrupts |
delene
Replies: 3
Views: 11609
|
Forum: General CCS C Discussion Posted: Mon Nov 07, 2011 7:31 am Subject: 4x4 matrix keypad with interrupts |
Hi
I have a 4x4 keypad connected to portb with the pull ups enabled. Previously I had been checking the keypad in my main code, but now would like to change my code to use interrupts rather.
I tri ... |
Topic: Port B |
delene
Replies: 2
Views: 4541
|
Forum: General CCS C Discussion Posted: Sun Oct 16, 2011 11:45 pm Subject: Port B |
Am using the pic18f452.
Have my pic connected up as per the examples. I will just move them all up a pin and try it out - hopefully I come right.
Thanks |
Topic: 1wire RS232 |
delene
Replies: 5
Views: 6955
|
Forum: General CCS C Discussion Posted: Sun Oct 16, 2011 11:38 pm Subject: 1wire RS232 |
It occours with the pic16f877a and the pic18f452.
Am using a 4 meg crystal
The only idea that I came up with from the examples is to change my pin to be one with an external interrupt. However I ... |
Topic: Port B |
delene
Replies: 2
Views: 4541
|
Forum: General CCS C Discussion Posted: Sun Oct 16, 2011 10:13 am Subject: Port B |
I currently have my LCD display connected to port b, as per the example provided. There is one pin which is not connected, but can be used as an external interrupt.
Can I use port b for the displa ... |
Topic: 1wire RS232 |
delene
Replies: 5
Views: 6955
|
Forum: General CCS C Discussion Posted: Sun Oct 16, 2011 8:30 am Subject: 1wire RS232 |
I have two pics that are communicating using 1wire and a 10k resistor.
They do chatter back and forth but my problem is sometimes some of the data being sent is not being received, or if it is its co ... |
Topic: Counting number of samples |
delene
Replies: 7
Views: 6172
|
Forum: General CCS C Discussion Posted: Fri Jun 24, 2011 9:54 am Subject: Counting number of samples |
Thank you Ttelmah for your help and for getting back to me so quickly.
The name of the function I am looking for is particularly helpful!
Will do as you have suggested THANK YOU
|
Topic: Counting number of samples |
delene
Replies: 7
Views: 6172
|
Forum: General CCS C Discussion Posted: Fri Jun 24, 2011 9:34 am Subject: Counting number of samples |
anywhere between -19999 and + 19999 |
|