stawel / dialIndicatorToSerial

Arduino based digital dial indicator (caliper) logger
MIT License
22 stars 7 forks source link

Issue when performing other operations #2

Open danwill005 opened 4 years ago

danwill005 commented 4 years ago

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