Where I try playing a sample via PwmOutput

Dependencies:   LCD_ST7735 mbed

Reading some old ZX Spectrum forums, I wanted to check wether playing a sample was possible. So far, no, but there's more things to try.

Sequencer.h

Committer:
loop
Date:
2015-03-08
Revision:
0:167d81d4f79f

File content as of revision 0:167d81d4f79f:

#include "mbed.h"
#include "Color565.h"
#include "font_IBM.h"
#include "LCD_ST7735.h"
#include "sound.h"
#pragma once

class Sequencer {
    DigitalIn left;
    DigitalIn right;
    DigitalIn down;
    DigitalIn up;
    DigitalIn square;
    DigitalIn circle; 
    DigitalOut led1;
    DigitalOut led2;
    PwmOut pwm;
    AnalogIn ain;
    I2C i2c;
    LCD_ST7735 disp;
    //Row rows[3];
    int sc;
    public:
        Sequencer();
        void drawGrid();
        void pns();
};