1 Reply Latest reply on Jan 4, 2017 11:54 AM by LeonardoR_Intel

    Resource     Path     Location     Type passing argument 3 of 'qm_gpio_read_pin' makes pointer from integer without a cast [-Werror=int-conversion]     main.c     /LED_Blink     line 41     C/C++ Problem

    MFF

      Hi,

      I wrote this code,when I press the button I want to put the outputs at 1 after a  predefined delay in this case 0.25 seconds.

       

      I have this error that I´m trying to solve but for that I need your help.

       

      At line 41  #define BUTTON 2 -   error  ( passing argument 3 of 'qm_gpio_read_pin' makes pointer from integer without a cast [-Werror=int-conversion]  )

       

      and at Line 93 and 106 i have this warnings: in expansion of macro 'BUTTON'

       

      I appreciate the help.

       

      Thanks

      MFF