I've got the code working perfectly, attached a dial indicator, an got the value to display successfully to an lcd.
However, i've been trying to control the speed of a DC motor within the code, and getting the speed value to display to the lcd as well, but it doesn't work. The motor control code works perfectly by itself, and displays to the lcd as expected, but together it doesn't work.
I've been researching the topic, and lots of other codes use iterrupts or other electronics to change the voltage level of the outputs.
Just wondering whether there is an easy way to fix this without adding the other electronics?
Hi,
I've got the code working perfectly, attached a dial indicator, an got the value to display successfully to an lcd.
However, i've been trying to control the speed of a DC motor within the code, and getting the speed value to display to the lcd as well, but it doesn't work. The motor control code works perfectly by itself, and displays to the lcd as expected, but together it doesn't work.
I've been researching the topic, and lots of other codes use iterrupts or other electronics to change the voltage level of the outputs.
Just wondering whether there is an easy way to fix this without adding the other electronics?
Thanks
Dial_Indicator_Code1.txt