This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| et:software:homelab:library:pin [2013/12/05 13:13] – rellermaa | et:software:homelab:library:pin [2020/07/20 12:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| ===== Konstandid ===== | ===== Konstandid ===== | ||
| - | * led_green = PIN(C,3), led_yellow | + | * **// |
| - | * LED1 = PIN(C,3), LED2 = PIN(C,4), LED3 = PIN(C,5) | + | * **// |
| - | * S1 = PIN(C,0), S2 = PIN(C,1), S3 = PIN(C,2) | + | * **// |
| - | | + | |
| ===== Funktsioonid ===== | ===== Funktsioonid ===== | ||
| Line 82: | Line 81: | ||
| #include < | #include < | ||
| - | // Kodulabori nupud ja LEDid on teegis eeldefineeritud ja uuesti defineerida | + | // Kodulabori nupud ja LEDid on teegis eeldefineeritud |
| + | // ja neid pole vaja uuesti defineerida | ||
| int main(void) | int main(void) | ||