Hey guys i was lucky the other day and receved a graveyard from a local tv repair shop and in the mix i found a nice sony vcr so i riped out the jog wheel and hooked it up to my arduino oscilloscope and got the pinout "pic included" now im just not sure how to have the arduino read it ie
if (pin1,pin4 == high ) //all the way left
{
do something
}
if (pin1,pin2,pin3,pin4 == high) // nily all the way left
{
do something else
}
sorry i've been gsc modding for abit so im alittle out of touch but i guess what im asking is how to moniter multiple pins to read this jog wheel
thankyou very much
but i alreaddy know the state of the pins i found them out and joted them down in the first picture im just not sure what to do with the arduino for example when i turn the jog all the way to the left only pins 1 and 4 and pulled to ground but how do i tell the arduino to set lets say pin13 high when pins 1 and 4 on my encoder are pulled to ground,its just like monitering multiple buttons todo something insted of one button
i just dont know the syntax sorry for the silly qustions i figered ou the pinout myself but i'm to new to complete the code
Yes thank you very much, i will try but i think we have talked about this before im 21 i have kids and im very well spoken however i do lack punctuation but i will try harder
AWOL:
Or, more simply, just pack the bits into a variable, and use that as an index into an array
simply???, thats like me telling my granmother that her laptops Gpu-Bga chipset need's reflowing,she wont understand that
any more then i understand bits as variables that are index's that go into array's , im sorry but am new and need the help