Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hi there,
When I changed my code to assembly I manage to modify an existing code and mold it to my needs since I had a previous background knowledge in pic asm. I was just trying to start programming in C, which wasn't a succesful atempt, by the way. Now the LCD works perfectly.
But something...
Hi there, sorry for the delay in replying. I got some time to test the suggestions out and created the following code:
// Arquivos de cabeçalho
#include <p18f2550.h> // Processador = 18F2550
#include <delays.h> // Funções de delay do compilador C18:
#include <string.h>
#include "xlcd.h"...
Hi BigDog,
I uploaded a schematic of the circuiti, I already tied to pins to the ground which did not work with the previous code (the one posted above). I'll add the 200 ms and try again and let you know.
And what about it being this 1602F model? Is it compatible to this HD44780?
Also, there's the thing I said about each character being 5x8 and it only has, in the xlcd.h, the option of 5x7 or 5x10. Does this matter at all?
I can't really see the controller as there are two black blobs on the...
Hi,
I'm just starting on the 18F family (using the 18F2550) and with the C18 compiler.
I created a circuit with two LEDs and the LCD. First I did a simple blinking leds example with it, which worked perfectly. I'm using the internal oscilator, configured to 8MHz.
The LCD only has written 1602F...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.