MAKOTO MOTOYAMA / fkasher
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 {
00008 public: //外部から自由にアクセスできる関数
00009     Flasher(PinName pin);
00010     void flash(int n);
00011 
00012 private: //外部から自由にアクセスできない関数
00013     DigitalOut _pin; //デジタル出力の宣言       
00014 };
00015 
00016 #endif