Advertisement
Guest User

Untitled

a guest
Mar 31st, 2020
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. // LED warning light control
  2. if ((proudy[0] < nocurrent) || (proudy[1] < nocurrent) || (proudy[2] < nocurrent) || (proudy[3] < nocurrent)){
  3. NastavitVystupy(0,1,0,0);
  4. }
  5.  
  6. if ((lowcurrent > proudy[0] < highcurrent) || (lowcurrent > proudy[1] < highcurrent) || (lowcurrent > proudy[2] < highcurrent) || (lowcurrent > proudy[3] < highcurrent)){
  7. NastavitVystupy(0,0,1,1);
  8. }
  9.  
  10. if ((proudy[0] > highcurrent) || (proudy[1] > highcurrent) || (proudy[2] > highcurrent) || (proudy[3] > highcurrent)){
  11. NastavitVystupy(1,0,0,0);
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement