うでのかい 

Dependencies:   mbed

Committer:
MrBearing
Date:
Wed Jul 13 06:25:37 2011 +0000
Revision:
0:cb925fea7c0c

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
MrBearing 0:cb925fea7c0c 1 #include "mbed.h"
MrBearing 0:cb925fea7c0c 2
MrBearing 0:cb925fea7c0c 3 AnalogOut signal(p18);
MrBearing 0:cb925fea7c0c 4
MrBearing 0:cb925fea7c0c 5 int main() {
MrBearing 0:cb925fea7c0c 6 while(1) {
MrBearing 0:cb925fea7c0c 7 for(float i=0.0; i<1.0; i+=0.1) {
MrBearing 0:cb925fea7c0c 8 signal = i;
MrBearing 0:cb925fea7c0c 9 wait(0.0001);
MrBearing 0:cb925fea7c0c 10 }
MrBearing 0:cb925fea7c0c 11 }
MrBearing 0:cb925fea7c0c 12 }