13
beleg
7y

back to C after a couple of years. That's way better than I'd expected

Comments
  • 0
    C is ❤. What you doing though?
  • 1
    @Cyanide just trying to run a stepper motor with sigmoid acceleration. In fact computing a dynamic-length array of integers that would be used by the microcontroller as a counter for a busy wait loop before it sends next pulse to the stepper motor, so at the end it's velocity-time function would be a sigmoid. (As my electronics colleague says) Bad things will happen if it accelerate suddenly.
  • 1
    anyways i fixed it now, just forgot i should allocate the array first :)
  • 1
    @beleg Woah! Too much electronics for me.
  • 1
    @beleg But I kinda understand what you mean.
  • 1
    @Cyanide it's also too much for me already :) i was just supposed to build a desktop interface for the CNC machine we are making. But these so called micro programmers man... they always screw something up and then expect me sort it down again.
Add Comment