Author |
Message |
Topic: Code fails to compile post MPLAB install |
steve_smith94
Replies: 1
Views: 3137
|
Forum: General CCS C Discussion Posted: Wed Mar 21, 2012 6:26 am Subject: Code fails to compile post MPLAB install |
Hi,
I'm pretty stuck here. I have some code that compiled in CCS PCW v4.124 this morning. I then needed to program my hardware.
Previously I used MPLAB to program earlier versions. However, I ha ... |
Topic: How do I use spi |
steve_smith94
Replies: 6
Views: 11652
|
Forum: General CCS C Discussion Posted: Tue Mar 29, 2011 7:29 am Subject: How do I use spi |
OK. So how do I take frequency, expressed as a long int, for example 4000. The convert this value to 3 bytes in a hex format that i can send via the spi.
do I have to set up the spi interface usi ... |
Topic: How do I use spi |
steve_smith94
Replies: 6
Views: 11652
|
Forum: General CCS C Discussion Posted: Tue Mar 29, 2011 5:34 am Subject: How do I use spi |
Guys,
I have never used the spi interface and am in need of some advice/help!
I need to communicate with a synthesizer module via spi. I am using a PIC16F917.
I only need to write to the devi ... |
Topic: How to configure IOC on PIC16F917 |
steve_smith94
Replies: 5
Views: 8405
|
Forum: General CCS C Discussion Posted: Wed Mar 23, 2011 9:20 am Subject: How to configure IOC on PIC16F917 |
I have downloaded the real pic simulator to aid my getting to the bottom of this issue.
Using this configured for a PIC16F917, I can't get any of the examples I have seen to work.
Is there a cc ... |
Topic: How to configure IOC on PIC16F917 |
steve_smith94
Replies: 5
Views: 8405
|
Forum: General CCS C Discussion Posted: Tue Mar 22, 2011 3:45 am Subject: How to configure IOC on PIC16F917 |
Just one further question; what size pull downs would you suggest? 4k7 as per pull ups? |
Topic: How to configure IOC on PIC16F917 |
steve_smith94
Replies: 5
Views: 8405
|
Forum: General CCS C Discussion Posted: Tue Mar 22, 2011 3:42 am Subject: How to configure IOC on PIC16F917 |
Thanks guys.
\My code is below
#include <16F917.h>
#device adc=8
#FUSES NOWDT //No Watch Dog Timer
#FUSES HS //High speed Osc (> 4mhz f ... |
Topic: How to configure IOC on PIC16F917 |
steve_smith94
Replies: 5
Views: 8405
|
Forum: General CCS C Discussion Posted: Mon Mar 21, 2011 5:22 am Subject: How to configure IOC on PIC16F917 |
Hi,
I'm a PIC newbie and have been given a circuit and asked to write the software.
I need to recognise a High (5v) on either RB6 and RB7, provided by a momentary push button switch. Then run co ... |
|