Okay i need help with a ADC program with a pic12f683.
i need it to have 1 input (analog) and 2outputs.
Now the tricky thing is the input is going to be 0-5volts
and when the voltage hits 2.5volts both outputs are low when the voltage
gets 2.4 or less one output goes hi and when the voltage goes 2.6 or higher the other output goes high. they say its simple hex math but im stuck
can anyone help ? Thanks
i need it to have 1 input (analog) and 2outputs.
Now the tricky thing is the input is going to be 0-5volts
and when the voltage hits 2.5volts both outputs are low when the voltage
gets 2.4 or less one output goes hi and when the voltage goes 2.6 or higher the other output goes high. they say its simple hex math but im stuck
can anyone help ? Thanks