Keyboard interrupt for infinite loop

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

Keyboard interrupt for infinite loop

1,278 次查看
ashkanrezaee
Contributor III

Hi,

I want to make a keyboard interrupt during a "while" infinite loop on QN9080. If I use "GETCHAR" or "SCANF", program stop until I press something. But I want to have the loop until I press something (anything) on the keyboard to make an interrupt.  

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

1,172 次查看
estephania_mart
NXP TechSupport
NXP TechSupport

Hello, 

Are you using Bluetooth Le? Or are you testing just the board drivers? 

You can check the available examples for each in the SKD, there is one for a keyboard that might help you as a guide and one for an HID device working with Bluetooth LE. 

If you are just getting started with the QN9080, I would recommend you to check first the driver example and after that check the Bluetooth one. 

The examples can be downloaded from the MCUXpresso dashboard  . 

Regards, 

Estephania 

0 项奖励
回复