I would really appreciate anyone’s help they can give on a very simple task I need to perform. I have been trying to read up on programming the 12c508a (have some lying around with programmer) but not getting very far.
I have a device (amp) with a stand-by power of 3.3v that has a momentary on push button to switch it on. What I want to do is power it on from the wall socket without pushing the button, like this:
switch device on at the wall socket (mains) ->
device is in stand-by 3.3v is on->
pic becomes active ->
wait 500ms ->
3.3v for 200ms to one side of switch (switch device on) ->
pic turn off/sleep/quit
Can anyone help me with code for this?
Cheers
I have a device (amp) with a stand-by power of 3.3v that has a momentary on push button to switch it on. What I want to do is power it on from the wall socket without pushing the button, like this:
switch device on at the wall socket (mains) ->
device is in stand-by 3.3v is on->
pic becomes active ->
wait 500ms ->
3.3v for 200ms to one side of switch (switch device on) ->
pic turn off/sleep/quit
Can anyone help me with code for this?
Cheers