nitinpatil
Member level 1
- Joined
- Oct 29, 2012
- Messages
- 41
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 1,288
- Location
- Pune, Maharashtra, India
- Activity points
- 1,557
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 sbit low = P2^0 sbit mid = P^2^1 sbit high = P2^2 sbit UV = P2^3 sbit OV = P2^4 sbit pump = P3^4 void main(){ while(1){ if((UV) && (OV){ if(low)pump = 1; if(high)pump = 0; } elseif((UV == 0) || (OV == 0)pump = 0; } }
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?