Hello! I'm new to PSOC programming, but when I tried to upload the following code
#include <device.h>
That might have to do with something else within the project. Will you please upload the project here.
To do so, in PSoC Creator: Build -> Clean Project
File -> Create Workspace Bundle(minimal)
and then upload the resulting .Zip-file here.
Bob
Did you check that the LCD is assigned to Port 2 (P2[0]..P2[6])?
Hi daiengineering,
According to your code, "Hello World" should be printed in the second line of the LCD.
Please make sure that the LCD is fixed firmly in the allocated header.
As hli has already suggested, assign the port to P2[6..0] in Pins tab of cydwr.