Author |
Message |
Topic: SERIAL LCD interfacing PIC16F877A (Gibberish display) |
JiggyPepper
Replies: 1
Views: 4188
|
Forum: General CCS C Discussion Posted: Tue Feb 21, 2012 7:07 am Subject: SERIAL LCD interfacing PIC16F877A (Gibberish display) |
Specs:
1) PIC16F877A
2) MPLAB IDE
3) CCS C
4) Serial 4x20 LCD
Supply is 9V with common ground with the microcontroller.
Main initialization:
#include <16F877a.h>
#fuses HS,NOWDT, ... |
Topic: Simple LED blink problem (ignores conditional statement) |
JiggyPepper
Replies: 7
Views: 9468
|
Forum: General CCS C Discussion Posted: Mon Feb 06, 2012 3:23 am Subject: Simple LED blink problem (ignores conditional statement) |
Thank you so much Ttelmah. The pull down resistor did the trick. |
Topic: Simple LED blink problem (ignores conditional statement) |
JiggyPepper
Replies: 7
Views: 9468
|
Forum: General CCS C Discussion Posted: Thu Feb 02, 2012 5:07 am Subject: Simple LED blink problem (ignores conditional statement) |
thanks for the tip gip_mad . At least I can see its functioning logically. |
Topic: Simple LED blink problem (ignores conditional statement) |
JiggyPepper
Replies: 7
Views: 9468
|
Forum: General CCS C Discussion Posted: Thu Feb 02, 2012 3:43 am Subject: Simple LED blink problem (ignores conditional statement) |
thanks for the comments. however, as I said I did check the code for both (input(PIN_A1)) and (!input(PIN_A1)) both to no avail. Blinker still starts. :(
nevermind the printf function as well, I ju ... |
Topic: Simple LED blink problem (ignores conditional statement) |
JiggyPepper
Replies: 7
Views: 9468
|
Forum: General CCS C Discussion Posted: Thu Feb 02, 2012 2:42 am Subject: Simple LED blink problem (ignores conditional statement) |
Hey guys, I'm stuck at a weird error I encountered.
Let me start off with my setup:
PIC16F877A
ICD2 Programmer
MPLAB (using CCS C compiler)
20 Mhz external clock
It's a code to start a blink ... |
|