Closed eagl1 closed 6 months ago
Can you confirm that RE0 is configured as output?
TRISEbits.RE0 = 0 ;
Yep, it's sat as output in pic_init();
I'm configuring all ports in this function.
Can you send me the workspace (the .pzw file) of the project?
I have done some tests and the LCD works with gpboard without problems.
PICSimLab workspace and Project: lcdgpsim.zip I have used in my tests.
It's working, thank you so much man :)
I downloaded the latest release.
The problem here:
ADCON1 = 0x0C;
I totally forgot about AN5, AN6 and AN7 are on PORTA. But I didn't have any problem in my PICGenios code.
Hi,
I tried to set the pin to GND but couldn't. I even sat it to RE0 and pulled the pin to 0V but also didn't work.
This is the picture of my simulation.
This is the code I used:
The code is working in PICGenios and Mclab2.