Keyboard interrupt for infinite loop

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Keyboard interrupt for infinite loop

1,279件の閲覧回数
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,173件の閲覧回数
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 件の賞賛
返信