no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | cybiko:vibratorcontrol [2009/11/27 17:54] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======Using the Vibrator motor drive lines====== | ||
+ | From some experiments by DK\\ | ||
+ | This is based on a BE idea that the little vibrator motor might be | ||
+ | put to another use. | ||
+ | The idea is that since there is an SDK function to activate the drive to this | ||
+ | motor, we might use this as the basis for performing another function. | ||
+ | e.g. we haven' | ||
+ | With a bit of rewiring, the vibrator drive line might be made to do this for us. | ||
+ | |||
+ | So, the 1st thing to check was to see if the vibrator might be ' | ||
+ | running during ' | ||
+ | There are several places where this must be done. | ||
+ | |||
+ | The first is in the ' | ||
+ | Select ' | ||
+ | |||
+ | Next, goto the ' | ||
+ | |||
+ | Now, we have the Cybiko setup so as not to run the vibrator during normal use. | ||
+ | |||
+ | Fortunately, | ||
+ | |||
+ | <code c> | ||
+ | enable_vibration(TRUE); | ||
+ | vibrate(255); | ||
+ | cWinApp_pause(main_module.m_process, | ||
+ | vibrate(0); | ||
+ | </ | ||
+ | {{tag> |