Mario Simaremare / Mbed 2 deprecated g3_waterplay

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Flasher.h Source File

Flasher.h

00001 #ifndef MBED_FLASHER_H
00002 #define MBED_FLASHER_H
00003 
00004 #include "mbed.h"
00005  
00006 class Flasher {
00007 public:
00008     Flasher(PinName pin);
00009     void flash(int n);
00010     void flash(int n, float delay, float waiting_time);
00011     void danger_flash();
00012     void danger_flash_long();
00013     void water_flash();
00014     void salinity_flash();
00015   
00016 private:
00017     DigitalOut _pin;
00018 };
00019  
00020 #endif