Author |
Message |
Topic: LCD Problem |
GoodEmbed'
Replies: 22
Views: 21361
|
Forum: General CCS C Discussion Posted: Sun Apr 22, 2007 11:35 am Subject: LCD Problem |
AH ha!
you're using port A!! (I thought you were using port D from your notation - but 16f628 is a small device of course)
Pin A5 cannot send data.
lame, I know. Check the data sheet and use ... |
Topic: LCD Problem |
GoodEmbed'
Replies: 22
Views: 21361
|
Forum: General CCS C Discussion Posted: Sun Apr 22, 2007 5:54 am Subject: LCD Problem |
lcd_putc expects only one char at a time as far as I know. I use my tutors LCD driver, but I except its functionally the same.
Try printf(lcd_putc,"\fHello, World!");
I noticed ... |
Topic: getting started with LCD!!!!! help |
GoodEmbed'
Replies: 8
Views: 9701
|
Forum: General CCS C Discussion Posted: Sat Apr 21, 2007 7:03 pm Subject: getting started with LCD!!!!! help |
Here's the code that uses the above driver to draw a graph:
Note that this is not very nice or clean code!!
Finished code working:
http://img141.imageshack.us/img141/2092/p4100002kr1.th.jpg
[url ... |
Topic: getting started with LCD!!!!! help |
GoodEmbed'
Replies: 8
Views: 9701
|
Forum: General CCS C Discussion Posted: Sat Apr 21, 2007 6:53 pm Subject: getting started with LCD!!!!! help |
OK - the above two posts give the LCD driver.
Here's a quick example that shows how to use the functions
To draw a single byte on page 4, 20 columns along: (pixels are grouped together in 8's fo ... |
Topic: getting started with LCD!!!!! help |
GoodEmbed'
Replies: 8
Views: 9701
|
Forum: General CCS C Discussion Posted: Sat Apr 21, 2007 6:45 pm Subject: getting started with LCD!!!!! help |
ignore, originally needed two posts to get all code in. |
Topic: getting started with LCD!!!!! help |
GoodEmbed'
Replies: 8
Views: 9701
|
Forum: General CCS C Discussion Posted: Sat Apr 21, 2007 6:44 pm Subject: getting started with LCD!!!!! help |
[url=http://www.illhostit.com/files/5e6736dc272ce6baae10fb70db1fdade/jean.c]The Driver
I had to upload the file rather than post it using [code] tags as for some reasons the code was getting messed ... |
Topic: Mastering the dsPIC |
GoodEmbed'
Replies: 8
Views: 7998
|
Forum: General CCS C Discussion Posted: Mon Apr 16, 2007 5:27 pm Subject: Mastering the dsPIC |
You've tried other solutions, ultralol?
I'm cool with Pascal, though I've never tried 'embedded pascal' (contrary to my what my screen name might suggest).
I just want to know what I have the po ... |
Topic: Mastering the dsPIC |
GoodEmbed'
Replies: 8
Views: 7998
|
Forum: General CCS C Discussion Posted: Mon Apr 16, 2007 12:13 pm Subject: Mastering the dsPIC |
RogerB, thanks for the tip. I've had a look at their site before but didn't notice the book.
I was rather excited to see that filter design was incorporated into Mikroe's IDE. |
Topic: Mastering the dsPIC |
GoodEmbed'
Replies: 8
Views: 7998
|
Forum: General CCS C Discussion Posted: Mon Apr 16, 2007 7:47 am Subject: Mastering the dsPIC |
Cheers for the link, PCMP.
So there's absolutely no one here who's written programs for the dsPIC?! |
Topic: getting started with LCD!!!!! help |
GoodEmbed'
Replies: 8
Views: 9701
|
Forum: General CCS C Discussion Posted: Sat Apr 14, 2007 4:08 pm Subject: getting started with LCD!!!!! help |
Different graphic LCDs use different control protocols.
If you're using a 128x64 pixel cheapo one using one of the standard interfaces, then I can give you code to drive it and simple examples.
... |
Topic: Mastering the dsPIC |
GoodEmbed'
Replies: 8
Views: 7998
|
Forum: General CCS C Discussion Posted: Sat Apr 14, 2007 3:51 pm Subject: Mastering the dsPIC |
Hi everyone,
I am a student of electronic engineering and comp. sci. and have spent some time using PIC 16/18 MPUs.
My current knowledge level is quite high concerning PIC18s and below but I rea ... |
|