Author |
Message |
Topic: Problem with memory map |
Joseph88
Replies: 4
Views: 5933
|
Forum: General CCS C Discussion Posted: Fri Jan 26, 2007 7:07 am Subject: Problem with memory map |
Thanks for the help guys. I changed the memory structure so that it doesn't pass 0x1000, and it did the trick.
Joe |
Topic: Problem with memory map |
Joseph88
Replies: 4
Views: 5933
|
Forum: General CCS C Discussion Posted: Thu Jan 25, 2007 9:19 am Subject: Problem with memory map |
I'm working on a project with multiple LCD's (24 to be exact) and keyboard input. The project also requires that I save the user keyboard input. Everything works fine up to LCD 16, but from lcd 17-2 ... |
Topic: Write String to EEPROM? |
Joseph88
Replies: 6
Views: 12732
|
Forum: General CCS C Discussion Posted: Thu Dec 28, 2006 11:25 am Subject: Write String to EEPROM? |
Thanks for your reply. Would you need to do the same procedure to read back what you've written to eeprom? |
Topic: Write String to EEPROM? |
Joseph88
Replies: 6
Views: 12732
|
Forum: General CCS C Discussion Posted: Thu Dec 28, 2006 11:00 am Subject: Write String to EEPROM? |
Can someone give me an example on how i would write a text string to eeprom?
I've been trying what's described below but it won't compile. I'm using the 18f4525
char result[6]="hello" ... |
Topic: Memory question and 18f4525 |
Joseph88
Replies: 1
Views: 3976
|
Forum: General CCS C Discussion Posted: Fri Dec 22, 2006 8:13 am Subject: Memory question and 18f4525 |
I am working on a keyboard/lcd project where the user types a label into a small LCD and hopefully store the information somewhere on the pic.
Which is better to use, program memory or the EEPROM? ... |
Topic: function call problem |
Joseph88
Replies: 5
Views: 5737
|
Forum: General CCS C Discussion Posted: Thu Dec 21, 2006 12:47 pm Subject: function call problem |
From the CCS Manual, to create a global variable, you use the #MODULE command. Everything before the #MODULE is considered global correct?
This is what i've done below. Should the lcdNum variable ... |
Topic: function call problem |
Joseph88
Replies: 5
Views: 5737
|
Forum: General CCS C Discussion Posted: Thu Dec 21, 2006 12:18 pm Subject: function call problem |
Will the global variable work if the putc function is in a different file? |
Topic: function call problem |
Joseph88
Replies: 5
Views: 5737
|
Forum: General CCS C Discussion Posted: Thu Dec 21, 2006 11:02 am Subject: function call problem |
Hi guys,
I'm having a small problem with function calls. Please see the code and explaination below:
This code works
----------------------------
void main(void){
...
lcd_putc(" ... |
Topic: Trouble with 18f452 internal osc and RS232 |
Joseph88
Replies: 2
Views: 4047
|
Forum: General CCS C Discussion Posted: Tue Dec 19, 2006 2:50 pm Subject: Trouble with 18f452 internal osc and RS232 |
Hi Mark,
Thanks for replying. Yes you are right, the 18f452 doesn't have an internal oscillator. I got the answer from the other ccs board. My bad.
Joe |
Topic: Trouble with 18f452 internal osc and RS232 |
Joseph88
Replies: 5
Views: 7688
|
Forum: General CCS C Discussion Posted: Tue Dec 19, 2006 1:17 pm Subject: Trouble with 18f452 internal osc and RS232 |
Ah crap, i'm a newb. I've been looking at the 18f4520 datasheet, not the 18f452.
Thanks guys. |
Topic: Trouble with 18f452 internal osc and RS232 |
Joseph88
Replies: 5
Views: 7688
|
Forum: General CCS C Discussion Posted: Tue Dec 19, 2006 12:43 pm Subject: Trouble with 18f452 internal osc and RS232 |
HI PCM, thanks for your reply.
I'm fairly new to PIC programming, and i'm really confused about this issue. I believe the 18f452 does have an internal oscillator as the datasheets indicate that it ... |
Topic: Trouble with 18f452 internal osc and RS232 |
Joseph88
Replies: 5
Views: 7688
|
Forum: General CCS C Discussion Posted: Tue Dec 19, 2006 12:07 pm Subject: Trouble with 18f452 internal osc and RS232 |
Hello gurus,
I'm having trouble with my 18f452 on a picdem 2 board and rs232 communications. It will communicate properly if I have an EXTERNAL oscillator installed, but if I switch to the internal ... |
Topic: Trouble with 18f452 internal osc and RS232 |
Joseph88
Replies: 2
Views: 4047
|
Forum: General CCS C Discussion Posted: Tue Dec 19, 2006 9:02 am Subject: Trouble with 18f452 internal osc and RS232 |
Hello gurus,
I'm having trouble with my 18f452 on a picdem 2 board and rs232 communications. It will communicate properly if I have an EXTERNAL oscillator installed, but if I switch to the intern ... |
Topic: Syntax Question.. |
Joseph88
Replies: 3
Views: 4343
|
Forum: General CCS C Discussion Posted: Wed Aug 23, 2006 4:53 am Subject: Syntax Question.. |
Hello PIC C Professionals!
I'm getting a "Bad Syntax Error" when I compile the code indicated below, does anyone have any ideas?
lcd_putc("\fHello World\n", 1); <--get e ... |
Topic: 18f4525.h file |
Joseph88
Replies: 2
Views: 4328
|
Forum: General CCS C Discussion Posted: Wed Aug 23, 2006 4:47 am Subject: 18f4525.h file |
Hi ckielstra,
Thanks for the info! I will look into the upgrade options.
J |
|