PWM beeper in Windows CE 5.0

Post Reply
itouch
Posts: 54
Joined: Mon Jul 27, 2009 5:20 am

PWM beeper in Windows CE 5.0

Post by itouch » Tue Feb 09, 2010 11:51 pm

Can anyone show me how to drive the beeper from Windows CE 5.0? Thanks in advance for your help.

itouch
Posts: 54
Joined: Mon Jul 27, 2009 5:20 am

Re: PWM beeper in Windows CE 5.0

Post by itouch » Wed Feb 10, 2010 9:57 pm

I just notice that the PWM buzzer driver was implemented in the latest CE 5.0 release for the mini2440. Can esky-sh tell us when it will also be implemented on the dev. board with the core module?

nicolas
Posts: 162
Joined: Sun Jun 07, 2009 4:32 pm

Re: PWM beeper in Windows CE 5.0

Post by nicolas » Thu Feb 11, 2010 9:30 am

To interface with the drivers you need to make use of io ctl. ie. DeviceIOControl()
This can be done from c/c++ and from .net using the OpenNetCF smatdevices library or dllimports (but i prefer opennetcf library as its easier).

See the example here viewtopic.php?f=15&t=221

itouch
Posts: 54
Joined: Mon Jul 27, 2009 5:20 am

Re: PWM beeper in Windows CE 5.0

Post by itouch » Wed Mar 31, 2010 8:07 pm

I wrote a PWM driver for 5.0 in case anyone needs it.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests