Ruleta
Revision 1:b11ca82c2be8, committed 2013-10-31
- Comitter:
- darkmx4
- Date:
- Thu Oct 31 19:05:52 2013 +0000
- Parent:
- 0:a176fa6b4afd
- Commit message:
- TEC;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Oct 31 00:31:20 2013 +0000 +++ b/main.cpp Thu Oct 31 19:05:52 2013 +0000 @@ -3,7 +3,6 @@ Serial pc(USBTX,USBRX);// tx, rx -BusOut leds(PTD4, PTA12, PTA4, PTA5, PTC8, PTC9, PTA13, PTD5); DigitalOut led1(PTD4); DigitalOut led2(PTA2); DigitalOut led3(PTA4); @@ -12,6 +11,7 @@ DigitalOut led6(PTC9); DigitalOut led7(PTA13); DigitalOut led8(PTD5); +BusOut leds(PTD4, PTA12, PTA4, PTA5, PTC8, PTC9, PTA13, PTD5); AnalogIn pot(PTB0); DigitalIn boton(PTB1); DigitalIn botonr(PTB2); @@ -21,8 +21,6 @@ int main() { while(1){ - -float input = pot; on = 1; leds = on;