device init problem

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

device init problem

991 次查看
botaoyang
Contributor II

My problem is that I want to init a device in init_task, but in the main_task I am not able to use the device. if I want to use this device in many different  tasks, do I have to init the device in each task, or could I init the device in init_task and can be used in other task? If the device could be init in init_task and be used in other task, how to emplmemt this function? Is there any example project that can help me?

0 项奖励
回复
2 回复数

775 次查看
soledad
NXP Employee
NXP Employee

Hello botao,

Please check the example codes located at the path: C:\Freescale\Freescale_MQX_4_2\mqx\examples

I hope this helps, have a nice day


Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

775 次查看
soledad
NXP Employee
NXP Employee

Hello botao,

Which MQX are you using?

What device do you want to use?


Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复