use for led toggle

Committer:
uchiyama
Date:
Thu Mar 22 05:29:17 2012 +0000
Revision:
0:0b2d00066327

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
uchiyama 0:0b2d00066327 1 #include "mbed.h"
uchiyama 0:0b2d00066327 2 void toggle(DigitalOut x)
uchiyama 0:0b2d00066327 3 {
uchiyama 0:0b2d00066327 4 x = !x;
uchiyama 0:0b2d00066327 5 }