Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RESOLVED - ISR and Float
#1
Hi,
in the User Manual it says that I can not use float variables or math in the ISR. So is it not even possible to declare a float pointer and to do a typecast of an integer value to write it to that pointer?
I would like to use the speed of the ISR to inject a position offset and would therefore need to write to the floating point register Motor[x].CompPos.
Ii know that injecting a position offset is possible by using a 0D-Compensation Table, but is there a way to accomplish what I have in my mind?
I am using a Linear Motor on a PowerbrickLV,
best regards,
hannsx
Reply


Messages In This Thread
RESOLVED - ISR and Float - hannsx - 07-20-2018, 04:09 AM
RE: ISR and Float - hannsx - 07-20-2018, 07:37 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)