cancel
Showing results for 
Search instead for 
Did you mean: 

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?

Angle
Associate II
 
1 ACCEPTED SOLUTION

Accepted Solutions
Erwan YVIN
ST Employee

Hello Ain ,

you can use the test application

SPC574Sxx_RLA SERIAL Test Application

The led blick is the main.c

Best Regards

Erwan

View solution in original post

4 REPLIES 4
Erwan YVIN
ST Employee

Hello Ain ,

you can use the test application

SPC574Sxx_RLA SERIAL Test Application

The led blick is the main.c

Best Regards

Erwan

Hello Irwan,

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

0693W00000Nt7H6QAJ.png0693W00000Nt7HVQAZ.png

Erwan YVIN
ST Employee

You got it 😉

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

Best Regards

Erwan

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?