|
pic code
ok this is for pic not a robot or anything though. i was recamended to come here for what i need. i need to get this into a 8pin pic.
first i need to make for example 3 differant modes which when you push a button it cycles through and changes a multi collored led. now for the first mode would be one push of a differant button = one release of current to an electric valve. now for the second we will say if you hold in the button it continues to release current at a set amount per second. say 10 pulses of current so the valve opens 10 times a second. and for the 3rd mode we will say it needs to be the first 3 button pushs = the same as mode one but once you get to the 4th it goes into like mode 2.
thanks
|