Author |
Message |
Topic: 24LC32A ack [solved] |
danyboy666
Replies: 1
Views: 3811
|
Forum: General CCS C Discussion Posted: Thu Mar 22, 2012 10:49 pm Subject: 24LC32A ack [solved] |
Never mind I've found the problem. The slave address in the control byte I send is supposed to be A8, AA, AC or AE depending on which device on the Bus I want to read or write. I hope this can help so ... |
Topic: 24LC32A ack [solved] |
danyboy666
Replies: 1
Views: 3811
|
Forum: General CCS C Discussion Posted: Thu Mar 22, 2012 9:33 pm Subject: 24LC32A ack [solved] |
Hi again,
I'm testing with a futurlec board ET-MINI 24xx serial EEPROM. The EEPROM chips are 24LC32A. I use the provided 2432.c driver provided with CCS compiler version 4.104 but I have trouble wi ... |
Topic: PCF8583 driver |
danyboy666
Replies: 6
Views: 92768
|
Forum: Code Library Posted: Tue Mar 20, 2012 12:22 am Subject: PCF8583 driver |
Thank you for this driver PCM Programmer, this helped me alot. |
Topic: 12-hour Mode using the DS1307 |
danyboy666
Replies: 2
Views: 7474
|
Forum: General CCS C Discussion Posted: Sat Mar 17, 2012 8:35 pm Subject: 12-hour Mode using the DS1307 |
Sorry to bump this tread.
I think i've figured out how to put into 12 hour mode like so:
#define BIT_VAL(x) (1 << x)
void ds1307_set_date_time(BYTE day, BYTE mth, ... |
Topic: PIC Interrupts w/keypad |
danyboy666
Replies: 13
Views: 19457
|
Forum: General CCS C Discussion Posted: Sun Mar 11, 2012 10:06 pm Subject: PIC Interrupts w/keypad |
Now i'm trying to figure out side scrolling on a single line but i haven't got any luck yet.
This is the code i'm trying:
int8 i;
LCD_Position(1,1);
LCD_ClearDisplay();
d ... |
Topic: PIC Interrupts w/keypad |
danyboy666
Replies: 13
Views: 19457
|
Forum: General CCS C Discussion Posted: Sun Mar 11, 2012 3:28 pm Subject: PIC Interrupts w/keypad |
Here's a library i found and modified for an 4x20 LCD
//////////////////////////////////////////////////////////////////////////////////////////////
//
// SLCD.c
//
// Simplifies the use of a S ... |
Topic: PIC Interrupts w/keypad |
danyboy666
Replies: 13
Views: 19457
|
Forum: General CCS C Discussion Posted: Sat Mar 10, 2012 11:28 pm Subject: PIC Interrupts w/keypad |
I've posted the complete source here: http://www.ccsinfo.com/forum/viewtopic.php?p=159307#159307
It surely need improvements but it does the job nonetheless.
I Hope it will be helpful to someone ... |
Topic: Matrix 4x4 Keypad w/ interrupt and EEPROM password |
danyboy666
Replies: 0
Views: 27155
|
Forum: Code Library Posted: Sat Mar 10, 2012 11:25 pm Subject: Matrix 4x4 Keypad w/ interrupt and EEPROM password |
This is a little code i've did at the college. The function is simple; read a 4x4 keypad which is polled by an interrupt on RB2. The code can read a password from EEPROM and compare it to a user input ... |
Topic: PIC Interrupts w/keypad |
danyboy666
Replies: 13
Views: 19457
|
Forum: General CCS C Discussion Posted: Sat Mar 10, 2012 9:00 pm Subject: PIC Interrupts w/keypad |
Whose 'serial 4x20 LCD' ??????
He may have this lcd:
http://store.melabs.com/prod/displays/SLCD204.html
Or, he may have this adapter:
Melabs Serial LCD Controller Module -
http://store.melab ... |
Topic: PIC Interrupts w/keypad |
danyboy666
Replies: 13
Views: 19457
|
Forum: General CCS C Discussion Posted: Sat Mar 10, 2012 6:58 pm Subject: PIC Interrupts w/keypad |
Well the display itself is Parallel but i use a serial lcd controller to interface it to the PIC. I know the basics but is can be quit time consuming to type everything, that's why i asked for a drive ... |
Topic: PIC Interrupts w/keypad |
danyboy666
Replies: 13
Views: 19457
|
Forum: General CCS C Discussion Posted: Sat Mar 10, 2012 2:43 pm Subject: PIC Interrupts w/keypad |
I've checked the product number and i've came up with this:
CFAH2004A-YYH-JP#
http://www.crystalfontz.com/product/CFAH2004AYYHJPE
The serial LCD controller is from MELABS |
Topic: PIC Interrupts w/keypad |
danyboy666
Replies: 13
Views: 19457
|
Forum: General CCS C Discussion Posted: Sat Mar 10, 2012 1:59 pm Subject: PIC Interrupts w/keypad |
Last question, is there a driver for serial LCD 4x20? |
Topic: PIC Interrupts w/keypad |
danyboy666
Replies: 13
Views: 19457
|
Forum: General CCS C Discussion Posted: Tue Mar 06, 2012 2:32 pm Subject: PIC Interrupts w/keypad |
It seems i did not explain myself properly, so let me try this again.
The code is working fine except for one thing, if i press a key for too long, it increments my variable inputCount from 1 to 4. ... |
Topic: PIC Interrupts w/keypad |
danyboy666
Replies: 13
Views: 19457
|
Forum: General CCS C Discussion Posted: Thu Mar 01, 2012 3:03 pm Subject: PIC Interrupts w/keypad |
Yes I saw this code before, its not really what I'm looking for though. I prefer using array, this way I can read easily read from EEPROM and reduce to a minimum the length of the code. |
Topic: PIC Interrupts w/keypad |
danyboy666
Replies: 13
Views: 19457
|
Forum: General CCS C Discussion Posted: Thu Mar 01, 2012 2:38 pm Subject: PIC Interrupts w/keypad |
Hi,
I'm trying to interface a 4x4 keypad with interrupts. Here's my issue. I want to verify which key is pressed an put them into an array to later compare that array with a pre defined password.
... |
|