Im writing a minor system with a puls sensor and where the user of this system can put in values in MM now i need to recount this to pulses and i cant get it to work
basially I need to have value in mm(D0)-constant in mm(D1) and then the new value (D2) * with pulses per mm(D3)
I started using the sub function but i end up getting really wierd values when i check this
is there an easy way to do this? also preferably without having to add a lot of extra registers for the calc of the last part
sub function with the answer to add function would be really nice
would love if anyone could help me with this, thanks in advance
basially I need to have value in mm(D0)-constant in mm(D1) and then the new value (D2) * with pulses per mm(D3)
I started using the sub function but i end up getting really wierd values when i check this
is there an easy way to do this? also preferably without having to add a lot of extra registers for the calc of the last part
sub function with the answer to add function would be really nice
would love if anyone could help me with this, thanks in advance