Advertisement
Guest User

Untitled

a guest
May 30th, 2015
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. int main() {
  2. //tu dajesz ustawienie portów w odpowiednim kierunku
  3. while (true) {
  4. if(instrukcja_sprawdzania_port_czujnika) {
  5. instrukcja_zapal_diodę;
  6. } else {
  7. instrukcja_zgaś_diodę;
  8. }
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement