Author |
Message |
Topic: Writing (not overwriting) to eeprom |
ancient_one
Replies: 4
Views: 6624
|
Forum: General CCS C Discussion Posted: Mon Mar 05, 2012 7:05 pm Subject: Writing (not overwriting) to eeprom |
I'm using PIC16F88 and i've got a file that store a lot of bytes in eeprom
const byte asciitable1[51][5] = {0x00, 0x00, 0x00, 0x00, 0x00, // 32 SPACE
0x00, 0x00, 0x7d ... |
Topic: rotate_right assembly |
ancient_one
Replies: 2
Views: 4428
|
Forum: General CCS C Discussion Posted: Thu Jan 12, 2012 10:05 am Subject: rotate_right assembly |
Which is the assembly code of rotate_right function?
I want to directly include it in my program. |
Topic: PIC16f88 external clock for timer1 |
ancient_one
Replies: 3
Views: 5120
|
Forum: General CCS C Discussion Posted: Thu Jan 12, 2012 8:20 am Subject: PIC16f88 external clock for timer1 |
Sure i've got a 20M oscillator with two 22pF capacitor in OSC1-OSC2 pins |
Topic: PIC16f88 external clock for timer1 |
ancient_one
Replies: 3
Views: 5120
|
Forum: General CCS C Discussion Posted: Thu Jan 12, 2012 5:46 am Subject: PIC16f88 external clock for timer1 |
Hi to all,
i'm using PIC16f88 with external 20M oscillator.
So i've set up:
#FUSES HS
Now i need to use timer1 to get an interrupt every 25ms:
setup_timer_1(T1_EXTERNAL | T1_DIV_BY_8);
... |
Topic: Reading rom memory address |
ancient_one
Replies: 5
Views: 9073
|
Forum: General CCS C Discussion Posted: Thu Jan 05, 2012 2:59 pm Subject: Reading rom memory address |
I'm writing a firmware that control a led matrix 7x100 (20 letters).
Each letter is 5x7 pixel and i need to store in rom (compile time) each letter scheme.
Example for letter A:
http://img17.imag ... |
Topic: Reading rom memory address |
ancient_one
Replies: 5
Views: 9073
|
Forum: General CCS C Discussion Posted: Thu Jan 05, 2012 2:30 pm Subject: Reading rom memory address |
That is exactly what i need, thanks.
Another thing, about:
#define DATA_ADDRESS 0x1000 // Start address for data
#define DATA_SIZE 20 // in bytes
What is the minimun address i can use? is ... |
Topic: Reading rom memory address |
ancient_one
Replies: 5
Views: 9073
|
Forum: General CCS C Discussion Posted: Thu Jan 05, 2012 1:15 pm Subject: Reading rom memory address |
I need to put during compile time some bytes into a particular rom address, such as 0x100,0x001, and read them later using the address.
If I use:
#ORG 0x100
int8 const stuff = 0xA;
#ORG 0x101
i ... |
|