LEDをtoggleします。TEST用

Committer:
enomoto
Date:
Mon May 13 04:10:32 2013 +0000
Revision:
0:4c3498745f6c
LED?toggle????; ????

Who changed what in which revision?

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