Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // LED warning light control
- if ((proudy[0] < nocurrent) || (proudy[1] < nocurrent) || (proudy[2] < nocurrent) || (proudy[3] < nocurrent)){
- NastavitVystupy(0,1,0,0);
- }
- if ((lowcurrent > proudy[0] < highcurrent) || (lowcurrent > proudy[1] < highcurrent) || (lowcurrent > proudy[2] < highcurrent) || (lowcurrent > proudy[3] < highcurrent)){
- NastavitVystupy(0,0,1,1);
- }
- if ((proudy[0] > highcurrent) || (proudy[1] > highcurrent) || (proudy[2] > highcurrent) || (proudy[3] > highcurrent)){
- NastavitVystupy(1,0,0,0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement