7 Replies Latest reply on Aug 15, 2017 10:42 AM by jim.yin_2467326

    GPIO write and read

    jim.yin_2467326

      Hi All,

         

      I am a newbie for this system. I have questions about digital GPIO write and read.

         

      1. When I tried to copy code examples to  my new project, it shows CY8C5888 and  S6E1C3 not compatible and couldn't change to new chip

         

      2. I tried to use port_name+write or port_name+read, but when I build the system it shows that "LCD_CS_write" is undefined.

         

         LCD_CS is a gpio port name, while LCD_CS_write is a output command.

         

       

         

         I hope to know how to define a GPIO output macro or function associated to a special PORT or BIT.

         

      I use CY8CKIT-059 Prototyping Kits

         

       

         

      Thank you in advance.

         

      Jim