Daryl69
Newbie level 2

Hi
I'm writing a program in MPLAB but there are some words I need.
In my program there is one bit where it takes a value that has been inputed i.e 1 and then it multiplies it by 2 e.g 1x2 =2
How to I write that as code in MPLAB?
Also another bit is when it takes a value i.e 2 and shifts one led to the right. can that be typed in as code?
Any help please
Daryl
I'm writing a program in MPLAB but there are some words I need.
In my program there is one bit where it takes a value that has been inputed i.e 1 and then it multiplies it by 2 e.g 1x2 =2
How to I write that as code in MPLAB?
Also another bit is when it takes a value i.e 2 and shifts one led to the right. can that be typed in as code?
Any help please
Daryl