Has anyone worked on frdm-kl25z as air mouse in code warrior ? I'm facing problem with cursor movement. I need help as so as possible, I'm short of time.
已解决! 转到解答。
Hello,
yes :-).
There are two things needed: accelerometer (Tutorial: Accelerating the KL25Z Freedom Board | MCU on Eclipse) and HID mouse (Using the FRDM-KL25Z as a USB Mouse Device | MCU on Eclipse). The resulting code with using X/Y axis for cursor movement is on GitHub (mcuoneclipse/Examples/FRDM-KL25Z/Freedom_USB_HID_Mouse/Sources/Application.c at master · ErichStyger...).
I hope this helps,
Erich
在原帖中查看解决方案
hi BlackNight
Thank you for the great contribution. I have been following your site and it had helped me a lot in learning kl25z.
The code works good :smileywink: