Hi everyone sir,i'm needed help because don't know Using the FRDM-KL25Z board, with uVision 5 Keil compiler. 2 ways traffic light with pedestrian crossing button traffic light program. C programming
Thank you
leong
Hi Leong,
There are some examples in the SDK, you can download it in this link: SDK Builder. Choose the FRDM-KL25Z board, select the IDE, in your case Keil MDK, and add all the middleware options so you can see all the examples.
For your specific application, there is an example you can check . See the gpio_led_output driver example, so you can see how to configurate a led. A button configuration for your application is also with the GPIO, but in this case it is an input (which in the led was an output).
You also can see the Reference Manual for more information of the peripherals configuration. The GPIO chapter is the 41, where you can see the Registers Configuration.
Best Regards,
Ricardo