2 ways traffic light with pedestrian crossing button traffic light

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

2 ways traffic light with pedestrian crossing button traffic light

1,403 次查看
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

标记 (1)
0 项奖励
回复
1 回复

1,303 次查看
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 项奖励
回复