2 ways traffic light with pedestrian crossing button traffic light

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2 ways traffic light with pedestrian crossing button traffic light

486 Views
jordanliong95
Contributor I

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

0 Kudos
1 Reply

386 Views
nxf58474
NXP Employee
NXP Employee

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.

 

pastedImage_2.png

 

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

0 Kudos