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
  • 4 replies
  • 1247 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

    4 replies

    Erwan YVIN
    Erwan YVINBest answer
    ST Technical Moderator
    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

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
    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 Technical Moderator
    June 30, 2022

    You got it ;)

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

    Best Regards

    Erwan

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
    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?