Are you trying to get complete project from this forum in multiple threads and posts......
if you can ask for a complete project then you will be saving a lot of time of everybody here...
For such a silly and imprecise question as that, I give this advice:
Connect one side of the motor to 0V, connect the other side through the UP ARROW switch to +V and also through the DOWN ARROW switch to -V. Be careful not to press both switches at once.
There you are, a simple solution and I saved you a 16F877A !!
Or did you want something else?
Brian.
If possible, kindly send that complete project sir..
thank you.
Are you trying to get complete project from this forum in multiple threads and posts......
if you can ask for a complete project then you will be saving a lot of time of everybody here...
yes..it possible..did you want the value out parallel at PORT B?
create one variable..
for example X
x = uart_read
portb = X
ASCII is code number for character..
for example A is equal to 65 (decimal),
in Binary A = 01000001
so when you do this
x = uart_read
portb = X
when PIC receive character A
you portb will be equal to 01000001
which is mean
portb7 = 0
portb6 = 1
portb5 = 0
portb4 = 0
portb3 = 0
portb2 = 0
portb1 = 0
portb0 = 1
thats all....
hmmmmmm it should work .... try it.....
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?