Hi Andrew,
Thanks for the advices.
I’ll continue to “dig” in order to improve my poor knowledge on advanced concepts like interrupts. Also will try to get into the ISR(TIMER2_COMPA_vect), which the key to the success in our case.
Thanks again and keep burning the candle for the blind...
Cheers
Search found 4 matches
- Wed Sep 04, 2019 4:22 am
- Forum: Arduino
- Topic: HCMotor Arduino library for driving DC and stepper motors.
- Replies: 22
- Views: 95240
- Sun Sep 01, 2019 8:13 am
- Forum: Arduino
- Topic: HCMotor Arduino library for driving DC and stepper motors.
- Replies: 22
- Views: 95240
Re: HCMotor Arduino library for driving DC and stepper motors.
Hi Andrew, As a newbie I was digging deep on the “surface” I found Javier Valencia code dealing with timers. I found also some improvements added by Bill Perry for use timer4 on Atmega32u4. I also read data sheet and try to figure out what to add/correct in your program. I might be totally wrong in ...
- Fri Aug 30, 2019 6:18 am
- Forum: Arduino
- Topic: HCMotor Arduino library for driving DC and stepper motors.
- Replies: 22
- Views: 95240
Re: HCMotor Arduino library for driving DC and stepper motors.
Andrew, thank you for your express answer... :D . I read at the datasheet about the 32U4 hardware timers. It has 4 times as stated: One 8-bit Timer/Counter with Separate Prescaler and Compare Mode Two 16-bit Timer/Counter with Separate Prescaler, Compare- and Capture Mode One 10-bit High-Speed Timer...
- Thu Aug 29, 2019 8:09 am
- Forum: Arduino
- Topic: HCMotor Arduino library for driving DC and stepper motors.
- Replies: 22
- Views: 95240
Re: HCMotor Arduino library for driving DC and stepper motors.
Hi Andrew, I have been using your HCMotor Arduino library for driving DC and stepper motors with Arduino Mega and Nano. It works very perfect. Now I try to use it with board Pololu A-Star 32U4 and run in a trouble. Well, I am very new in programming, but understood that the problem is with setting t...