Skip to main content
Angle
Associate III
June 30, 2022
Solved

Hello, i need ti know which code use to Blink LED on spc57 sphaero board? It is led_test.c file or adc_test.c file?

  • June 30, 2022
  • 2 replies
  • 1213 views

..

    This topic has been closed for replies.
    Best answer by Erwan YVIN

    Hello Ain ,

    you can use the test application

    SPC574Sxx_RLA SERIAL Test Application

    The led blick is the main.c

    Best Regards

    Erwan

    2 replies

    Erwan YVIN
    Erwan YVINBest answer
    ST Employee
    June 30, 2022

    Hello Ain ,

    you can use the test application

    SPC574Sxx_RLA SERIAL Test Application

    The led blick is the main.c

    Best Regards

    Erwan

    Angle
    AngleAuthor
    Associate III
    June 30, 2022

    Hello Irwan,

    is it this one ? i got confused with the others RLA Test Application

    0693W00000Nt7H6QAJ.png0693W00000Nt7HVQAZ.png

    Erwan YVIN
    ST Employee
    June 30, 2022

    You got it ;)

    Led is blinking (toogle function) after sending Hello World on UART.

    Best Regards

    Erwan

    Angle
    AngleAuthor
    Associate III
    June 30, 2022

    okay, but if i want to use the push button to trigger the LED instead of sending Hello World on UART, so which part of the code can i refer/ modified for the push button? I do not understand how write pin declaration for push button on the c code?