Author |
Message |
Topic: LCD & 16F877....weird INIT behaviour !?!?!?! |
Izolator
Replies: 10
Views: 28406
|
Forum: General CCS C Discussion Posted: Fri Feb 27, 2004 4:37 pm Subject: LCD & 16F877....weird INIT behaviour !?!?!?! |
Problem solved, it seems:
void lcd_write(byte address, byte b)
{
SET_TRIS_A(0x00); // set port A, output
LCD_EN = 0;
LCD_RS = 0;
delay_cycles(4 ... |
Topic: LCD & 16F877....weird INIT behaviour !?!?!?! |
Izolator
Replies: 10
Views: 28406
|
Forum: General CCS C Discussion Posted: Fri Feb 27, 2004 3:34 pm Subject: LCD & 16F877....weird INIT behaviour !?!?!?! |
I have it wired up ok, I guess:
LCD:Pic16F877
0: ground
1: +5V
3: -1.5V ( I got a potentiometer and steal the negative voltage from a maxim max233a, p10 => steady negative voltage)
4: pin5
... |
Topic: LCD & 16F877....weird INIT behaviour !?!?!?! |
Izolator
Replies: 10
Views: 28406
|
Forum: General CCS C Discussion Posted: Fri Feb 27, 2004 2:55 pm Subject: LCD & 16F877....weird INIT behaviour !?!?!?! |
I'm a complete newie and I really need the features that my program offers. I looked at the lcd.c and it is for 4 line lcd, not my cup of tea.
I think my problems are related to the timing and was ... |
Topic: LCD & 16F877....weird INIT behaviour !?!?!?! |
Izolator
Replies: 10
Views: 28406
|
Forum: General CCS C Discussion Posted: Fri Feb 27, 2004 2:20 pm Subject: LCD & 16F877....weird INIT behaviour !?!?!?! |
Hi guys,
I have connected a HD77480 2x16 lcd to Pic 16F877.
Compiler: PCM 3.173
20Mhz Quartz
I experience weird behaviour after my lcd_init() functions has run through a clean main() as the on ... |
Topic: setup_timer_2(??,??,??) with Neoton zero drift RTC |
Izolator
Replies: 2
Views: 13800
|
Forum: General CCS C Discussion Posted: Mon Feb 23, 2004 4:43 pm Subject: setup_timer_2(??,??,??) with Neoton zero drift RTC |
Thankyou good Sir,
It seems to work right out of the box.
Bless you, I might still pass my exam
BR
Rasmus 'Izolator' |
Topic: setup_timer_2(??,??,??) with Neoton zero drift RTC |
Izolator
Replies: 2
Views: 13800
|
Forum: General CCS C Discussion Posted: Mon Feb 23, 2004 3:29 pm Subject: setup_timer_2(??,??,??) with Neoton zero drift RTC |
Hi Guys,
I'm using a slightly minimized version of Neotone's old code, cutting out month, years and leapyears.
//RTC variables
int32 const xtl = 19660800;
int32 clock = xtl;
int8 days=0,ho ... |
Topic: Timer & Prescaler basics, explain ? |
Izolator
Replies: 5
Views: 23721
|
Forum: General CCS C Discussion Posted: Mon Feb 23, 2004 9:18 am Subject: Timer & Prescaler basics, explain ? |
#dyeatman
I guess I fed you too much information.
Basicly I have a dibswitch with 2 switches connected with pullup Vdd/ground, so I can read what the pins level are. I do this once at startup and th ... |
Topic: Timer & Prescaler basics, explain ? |
Izolator
Replies: 5
Views: 23721
|
Forum: General CCS C Discussion Posted: Sun Feb 22, 2004 2:47 pm Subject: Timer & Prescaler basics, explain ? |
Thankyou for the very quick reply !
If you refresh your browser you will see:
20Mhz Quartz, my mistake.
Also only the following needs be done:
timer running, continously when startet.
Measu ... |
Topic: Timer & Prescaler basics, explain ? |
Izolator
Replies: 5
Views: 23721
|
Forum: General CCS C Discussion Posted: Sun Feb 22, 2004 2:04 pm Subject: Timer & Prescaler basics, explain ? |
Hi guys,
...still doing my finals with:
1*Pic16F877, 20Mhz quartz.
1*HD44780 lcd
3*24LC256 I2C eeproms
1*DS1621 I2C temp/ther.
1*Packet Whacker
A user can specify the following in a PC prog ... |
Topic: TCP/IP |
Izolator
Replies: 4
Views: 11960
|
Forum: General CCS C Discussion Posted: Wed Feb 18, 2004 12:18 pm Subject: TCP/IP |
Hi there :-)
I have combined and used the following with great success:
Pic16F877 - Microchip.com
Packet Whacker - edtp.com
EDTP's example:
http://www.edtp.com/download/pw/whacky.exe
Not ... |
Topic: EDTP Packet Whacker / EECS - Chipselect usage ? |
Izolator
Replies: 2
Views: 12417
|
Forum: General CCS C Discussion Posted: Wed Feb 18, 2004 12:00 pm Subject: EDTP Packet Whacker / EECS - Chipselect usage ? |
mmm mmm...
That was exactly what I was hoping for
I think I will go for a solution with external IC's for sharing the bus.
Thankyou so much
BR
Rasmus 'Izolator' |
Topic: EDTP Packet Whacker / EECS - Chipselect usage ? |
Izolator
Replies: 2
Views: 12417
|
Forum: General CCS C Discussion Posted: Wed Feb 18, 2004 10:41 am Subject: EDTP Packet Whacker / EECS - Chipselect usage ? |
Hi guys :-)
Hope you can help me out with a simple Chipselect question.
I'm doing my Finals with a project:
Pic16F877
Packet whacker - www.edtp.com
HD44780 LCD - 2*16, scrollable
What I am d ... |
|