Author |
Message |
Topic: PIC32 support |
Core2
Replies: 2
Views: 6001
|
Forum: General CCS C Discussion Posted: Mon Dec 01, 2014 8:00 pm Subject: PIC32 support |
Thanks for that explanation. I didn't think to 'search' for PIC32 because I hadn't seen any talk about it. |
Topic: PIC32 support |
Core2
Replies: 2
Views: 6001
|
Forum: General CCS C Discussion Posted: Sun Nov 30, 2014 9:38 pm Subject: PIC32 support |
Has anybody heard anything about if CCS plans to support the PIC32 line? I shot them an email a few weeks back, but have yet to hear anything. |
Topic: LCD HD44780 PCF8574T i2c Driver |
Core2
Replies: 79
Views: 227281
|
Forum: General CCS C Discussion Posted: Sat Nov 22, 2014 6:30 pm Subject: LCD HD44780 PCF8574T i2c Driver |
Like I said, it's been a while since I last programmed a PIC. IIRC there WAS a Wizard that, when starting a new project, that 'helped' you select the options you wanted and then created the first cou ... |
Topic: LCD HD44780 PCF8574T i2c Driver |
Core2
Replies: 79
Views: 227281
|
Forum: General CCS C Discussion Posted: Sat Nov 22, 2014 5:37 pm Subject: LCD HD44780 PCF8574T i2c Driver |
Thanks for the replies. I have to admit that I 'panicked' in that right after I compiled, and got the errors, my wife informed me that WE were going shopping. Not knowing when we'd get back, I shot ... |
Topic: LCD HD44780 PCF8574T i2c Driver |
Core2
Replies: 79
Views: 227281
|
Forum: General CCS C Discussion Posted: Sat Nov 22, 2014 12:38 pm Subject: LCD HD44780 PCF8574T i2c Driver |
As a minor 'consider this', why not change the init to something like:
void lcd_init(void)
{
delay_ms(200); //LCD power up delay
cont int8 init_data[] = ... |
Topic: Only works once. . . |
Core2
Replies: 9
Views: 8070
|
Forum: General CCS C Discussion Posted: Fri Jan 22, 2010 1:15 pm Subject: Only works once. . . |
Wayne,
I see what you are saying now. I got a hold of a friend who has WAY more experience with programming PICs than I do. He pointed out what I was doing wrong and set me straight. A lot of w ... |
Topic: Only works once. . . |
Core2
Replies: 9
Views: 8070
|
Forum: General CCS C Discussion Posted: Thu Jan 21, 2010 10:06 am Subject: Only works once. . . |
Your first run through you don't set timer_1 until after you have cleared it. What are the default settings for the timer ?
The second time round it will be set correctly, this is probably why you ge ... |
Topic: Only works once. . . |
Core2
Replies: 9
Views: 8070
|
Forum: General CCS C Discussion Posted: Wed Jan 20, 2010 10:53 pm Subject: Only works once. . . |
Well, I thought for sure that reading port B (c = input_b() ) was the fix to my problem. Unfortunately, it didn't. Now I'm even more lost than before.
Its like a flag isn't getting cleared, OR se ... |
Topic: Only works once. . . |
Core2
Replies: 9
Views: 8070
|
Forum: General CCS C Discussion Posted: Wed Jan 20, 2010 5:14 pm Subject: Only works once. . . |
PCM,
I'd like to think that you're getting some king of compensation for the NUMEROUS people you've helped over the years! You're definitely a GREAT asset to this forum!
I'll make the changes y ... |
Topic: Only works once. . . |
Core2
Replies: 9
Views: 8070
|
Forum: General CCS C Discussion Posted: Wed Jan 20, 2010 11:35 am Subject: Only works once. . . |
And YES, I did get the IOC part working before moving on to connecting the sonar module.
Duane |
Topic: Only works once. . . |
Core2
Replies: 9
Views: 8070
|
Forum: General CCS C Discussion Posted: Wed Jan 20, 2010 11:34 am Subject: Only works once. . . |
Hello everyone,
I need a little help as I don't understand why it only works correctly ONCE, when the program first starts. In general, it signals the sonar unit (SensComp 6500) to start the proce ... |
Topic: How do you. . . |
Core2
Replies: 4
Views: 3465
|
Forum: General CCS C Discussion Posted: Mon Jan 18, 2010 9:17 am Subject: How do you. . . |
Hello everyone,
How do you START Timer1? Also, how do you ENABLE it after you disable it? Looking in the CCS C manual I didn't see a T1_ENABLE parameter, just the T1_DISABLE.
Thanks,
Duane |
Topic: Will this work? |
Core2
Replies: 4
Views: 3629
|
Forum: General CCS C Discussion Posted: Sat Jan 16, 2010 6:01 pm Subject: Will this work? |
Gotcha. Thanks! |
Topic: Will this work? |
Core2
Replies: 4
Views: 3629
|
Forum: General CCS C Discussion Posted: Sat Jan 16, 2010 5:21 pm Subject: Will this work? |
Thanks for the info. Will move the Timer setup.
What command actually makes the timer start?
Duane |
Topic: Will this work? |
Core2
Replies: 4
Views: 3629
|
Forum: General CCS C Discussion Posted: Sat Jan 16, 2010 12:13 pm Subject: Will this work? |
Hello everyone,
My 'C' is rusty. I need to set a signal and wait for a response. Here is my function:
void getSonar (void)
{
output_high(TRIGGER); //Initiate the Sonar ... |
|