123
Dependencies: WS2812 PixelArray DebounceIn
hlam.h@1:af17c65e86dc, 2020-07-02 (annotated)
- Committer:
- turumputum
- Date:
- Thu Jul 02 10:33:57 2020 +0000
- Revision:
- 1:af17c65e86dc
- Parent:
- 0:ea88f8c194d2
233
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
turumputum | 0:ea88f8c194d2 | 1 | |
turumputum | 0:ea88f8c194d2 | 2 | /* |
turumputum | 0:ea88f8c194d2 | 3 | pa_stenkaLed_1.SetAll(color_set(50,50,50)); |
turumputum | 0:ea88f8c194d2 | 4 | stenkaLed_1.write(pa_stenkaLed_1.getBuf()); |
turumputum | 0:ea88f8c194d2 | 5 | wait(1); |
turumputum | 0:ea88f8c194d2 | 6 | pa_stenkaLed_1.SetAll(color_set(0,0,0)); |
turumputum | 0:ea88f8c194d2 | 7 | stenkaLed_1.write(pa_stenkaLed_1.getBuf()); |
turumputum | 0:ea88f8c194d2 | 8 | wait(0.1); |
turumputum | 0:ea88f8c194d2 | 9 | pa_stenkaLed_2.SetAll(color_set(50,50,50)); |
turumputum | 0:ea88f8c194d2 | 10 | stenkaLed_2.write(pa_stenkaLed_2.getBuf()); |
turumputum | 0:ea88f8c194d2 | 11 | wait(1); |
turumputum | 0:ea88f8c194d2 | 12 | pa_stenkaLed_2.SetAll(color_set(0,0,0)); |
turumputum | 0:ea88f8c194d2 | 13 | stenkaLed_2.write(pa_stenkaLed_2.getBuf()); |
turumputum | 0:ea88f8c194d2 | 14 | wait(0.1); |
turumputum | 0:ea88f8c194d2 | 15 | pa_stenkaLed_3.SetAll(color_set(50,50,50)); |
turumputum | 0:ea88f8c194d2 | 16 | stenkaLed_3.write(pa_stenkaLed_3.getBuf()); |
turumputum | 0:ea88f8c194d2 | 17 | wait(1); |
turumputum | 0:ea88f8c194d2 | 18 | pa_stenkaLed_3.SetAll(color_set(0,0,0)); |
turumputum | 0:ea88f8c194d2 | 19 | stenkaLed_3.write(pa_stenkaLed_3.getBuf()); |
turumputum | 0:ea88f8c194d2 | 20 | wait(0.1); |
turumputum | 0:ea88f8c194d2 | 21 | */ |
turumputum | 0:ea88f8c194d2 | 22 | /* |
turumputum | 0:ea88f8c194d2 | 23 | gameState=bio; |
turumputum | 0:ea88f8c194d2 | 24 | for(int q=0; q<3000; q++) |
turumputum | 0:ea88f8c194d2 | 25 | { |
turumputum | 0:ea88f8c194d2 | 26 | yadroLed.light(LedRun); |
turumputum | 0:ea88f8c194d2 | 27 | mitohondriyaLed.light(LedRun); |
turumputum | 0:ea88f8c194d2 | 28 | endoplazmaLed.light(LedRun); |
turumputum | 0:ea88f8c194d2 | 29 | plastidaLed.light(LedRun); |
turumputum | 0:ea88f8c194d2 | 30 | vacuolLed.light(LedRun); |
turumputum | 0:ea88f8c194d2 | 31 | lizosomaLed.light(LedRun); |
turumputum | 0:ea88f8c194d2 | 32 | //wait(0.001); |
turumputum | 0:ea88f8c194d2 | 33 | //pc.printf("n: %d \n", q); |
turumputum | 0:ea88f8c194d2 | 34 | } |
turumputum | 0:ea88f8c194d2 | 35 | */ |