SDG+USBHost(Mouse) Sample

Dependencies:   Sound_Generator USBHost_custom

Fork of SDG_Mouse_Sample by GR-PEACH_producer_meeting

Information

Japanese version is available in lower part of this page.
このページの後半に日本語版が用意されています.

What is this?

This program is a demonstration that sounds the sound by mouse operation by using USBHost(Mouse) and Sound Generator.

Settings

Close JP3 of GR-PEACH.
/media/uploads/RyoheiHagimoto/sdg-mouse.jpg

Operation

operationeffect
Right clickSounds
Left clickReset to base tone (C)
Moves the mouse to the rightLower the sound
Moves the mouse to the leftHigher the sound
Center cursorAdjust the sensitivity.
Reset the reference value in the click.

Others

The default setting of serial communication (baud rate etc.) in mbed is shown the following link.
Please refer to the link and change the settings of your PC terminal software.
The default value of baud rate in mbed is 9600, and this application uses baud rate 9600.
https://developer.mbed.org/teams/Renesas/wiki/GR-PEACH-Getting-Started#install-the-usb-serial-communication


概要

このプログラムは、USBHost(Mouse) + Sound Generatorで、マウス操作による擬似笛デモです。

設定

GR-PEACHのJP3をショートする必要があります。
/media/uploads/RyoheiHagimoto/sdg-mouse.jpg

操作方法

操作内容
右クリック音出力開始
左クリック基準音(ド)にリセット
マウス右移動高音になります
マウス左移動低音になります
センターカーソル音高低の変化量調整(クリックで基準値にリセット)

Others

mbedのシリアル通信(ボーレート等)のデフォルト設定は以下のリンクに示しています。
リンクを参考に、お使いのPCターミナルソフトの設定を変更して下さい。
mbedでのボーレートのデフォルト値は9600で、このサンプルではボーレート9600を使います。
https://developer.mbed.org/teams/Renesas/wiki/GR-PEACH-Getting-Started#install-the-usb-serial-communication

Revisions of USBHost/USBHost.cpp

Revision Date Message Actions
24:868cbfe611a7 2014-06-03 Synchronized with git revision bcacbb9fbf3432829227430830cca4315b57c1b9 File  Diff  Annotate
23:759ec18ee1a7 2014-03-07 Synchronized with git revision 50b949b631f36d800e0008780cf33062071b4fa3 File  Diff  Annotate
22:f4191d3837dc 2014-01-31 Synchronized with git revision 82ff30dd43bf2884d073b2b6023cc64eb6ee8714 File  Diff  Annotate
17:c7b1b8451598 2013-10-16 Synchronized with git revision d8c3822c4c4e995cd7eaff0ce99f2d3284dde9cd File  Diff  Annotate
16:ab8c9118524e 2013-10-09 Synchronized with git revision 330e59fb850b83aefe641d40f9cf02873ab00d08 File  Diff  Annotate
15:6da3f071ee35 2013-10-07 Synchronized with git revision 53edc82f7373bbfa01a161700524765f52fdb444 File  Diff  Annotate
14:80c2d927b9b5 2013-10-03 make buffer big enough File  Diff  Annotate
13:b58a2204422f 2013-09-16 Synchronized with git revision 061259c07c5cd9172d2dbfabf1f0edc51604f316 File  Diff  Annotate
10:0c11cf1cc218 2013-03-18 fixed skip bit - fixed max size conf descriptor File  Diff  Annotate
9:7671b6a8c363 2013-03-14 use queue to wait end of transfer - use mailbox File  Diff  Annotate
8:93da8ea2708b 2013-03-14 update doc + license File  Diff  Annotate
6:1571e517a91b 2013-03-13 remove useless mutex calls File  Diff  Annotate
4:b320d68e98e7 2013-03-12 bug fixes - support composite device File  Diff  Annotate
0:a554658735bf 2013-03-06 first commit File  Diff  Annotate