I wrote a simple program just to test a lcd.
Over lcd.c driver the conection of lcd is made on pin D. If I want change this conection and put on pin B what do I need to do
You need to tell the lcd driver to use Port B. You can do this by adding
the line shown below in bold to your program. Put it just above the
#include line for the lcd driver. Example:
Quote:
#define use_portb_lcd 1
#include <lcd.c>
Also, delete the TRIS statement for Port B, and put a constant loop at
the end of your program. Put it just above the closing brace for main.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum