以前のLibraryでは、スピーカ出力にPWM,DigitalOutを使いましたが、これは、両方ともPWMにしたものです。LPC1114FN28ではDigitalOutにノイズが乗ることがありその対応です。
Dependents: kitchenTimer LPC1114FN28_kitchenTimer_Clock
Fork of Sound by
Diff: Sound.h
- Revision:
- 15:7e1945a135d7
- Parent:
- 14:027fe57d3491
--- a/Sound.h Sat Oct 26 22:15:13 2013 +0000 +++ b/Sound.h Sun Nov 10 03:57:47 2013 +0000 @@ -25,9 +25,10 @@ /* Sound.h */ /* */ /* Sound.c V0.4 base */ -/* V0.1 : 2013/10/27 DigitalOut wo PWMOut ni henko(Noise taisaku) */ +/* V0.1 : @SS131027 DigitalOut wo PWMOut ni henko(Noise taisaku) */ /* koreha LPC1114FN28 no taio */ -/* Sound end no stop syori */ +/* Sound end no stop syori */ +/* V0.2 : @SS131110 fixed the bug in the output end processing */ /***********************************************************************/ #ifndef _SOUND_H #define _SOUND_H @@ -132,18 +133,6 @@ */ - - - - - - - - - - - - class Sound { public: