Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Terence D

Pages: [1]
Graphic LCDs / NHD-14432WG-BTFH-V#T Datasheet's Initialization Code
« on: May 24, 2017, 10:07:30 PM »
Hi, I just purchased and received my NHD-14432WG-BTFH-V#T that I'm using with a Tiva LaunchPad.  I'm a very experienced C/C++ software developer, but looking at the datasheet I don't fully understand the code.  For example, it starts with this:

#include <REG52.H>
#include "AL.h"
sbit ID = P3^0;
sbit RW = P3^7;
sbit E = P3^4;

A few questions:
  • Where are these header files (REG52.H and AL.h) supposed to come from?
  • What does "sbit" mean?  Set bit?
  • What does P3 refer to?

Any explanation on these topics would be appreciated.  Thanks!


Pages: [1]