Low Level: Screen Consumption
This new release implements sound playing.
Up to now, I haven't managed to play sound. Thanks to 4D Systems support, this is fixed now. Actually, the 4D Systems μLCD-32PT(SGC) 3.2” Serial LCD Display Module requires up to 250 mA, more than the Arduino built-in regulator could provide, when it plays sound. |
How I Tested
|
A NiMH 8,4 V battery is regulated to 5 V and supplies the Arduino mini pro board and the LCD display.
The micro-SD slot hosts a FAT16 card with 16 kHZ mono encoded WAV sound files. The sound button is defined by
b8.define( 80, 120, 79, 59, "Son", myLCD.rgb16(0xff, 0xff, 0xff), myLCD.rgb16(0x00, 0xff, 0x00), myLCD.rgb16(0x00, 0x88, 0x00), i); When pressed, if (b8.check()) { myLCD.playSoundSD("crash.wav"); } sounds play. |