Errors in Character LCD Documentation

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
jicac_264551
Level 2
Level 2

I'm just starting with the CY8CKIT-050.  I've instatntiated the Character LCD and read the associated Document Number: 001-86319 Rev. **

   

The datasheet introduces over a dozen API functions that all start with LCD_Char_..., such as LCD_Char_PrintString().  Those functions will not compile, but LCD_PrintString() works fine.

   

Am I missing an update?  If not, perhaps the fine folks at Cypress might revise the datasheet, so that my competitors don't need to waste as much time as I just did.  Most other things are working just great.  Thanks for an otherwise excellent product!

0 Likes
2 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked
        Welcome in the fascinating world of PSoCs!   
In the datasheet the component is named "LCD_Char" while you named it just "LCD". The selected name is always prepended to the _API() to give you the possibility to instanciate two components (Whatever you choose) and distinguish which you want to address with the API.   
   
Bob   
0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Also keep in mind when you place a component on schematic, with it

   

unselected, rigjht clik, pick "Find example project" and you can add to

   

your workspace an example use of the component (with code) or open in

   

a new workspace. Either way you can then cut and paste code into your

   

project. Fast way of getting stuff to work.

   

 

   

Regards, Dana.

0 Likes