Author Topic: PWM motor  (Read 2146 times)

0 Members and 1 Guest are viewing this topic.

Offline TrumpkinTopic starter

  • Supreme Robot
  • *****
  • Posts: 1,176
  • Helpful? 5
PWM motor
« on: November 12, 2008, 02:49:12 PM »
I want to send a PWM signal to my l293d to control my motor speed, does anyone have example code? I'm using an Atmega32 as the microcontroller.
Robots are awesome!

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: PWM motor
« Reply #1 on: November 13, 2008, 02:48:53 AM »
see the AVRlib pwm.c and pwm.h code and example files ;)

Offline academicloody

  • Beginner
  • *
  • Posts: 3
  • Helpful? 0
Re: PWM motor
« Reply #2 on: June 12, 2009, 06:32:27 AM »
where can i find the avrlib ?!

Offline Metal Slug 2

  • Supreme Robot
  • *****
  • Posts: 333
  • Helpful? 11
Re: PWM motor
« Reply #3 on: June 12, 2009, 01:02:45 PM »
Here:

http://www.societyofrobots.com/step_by_step_robot_step4.shtml

Scroll half way down, in blue letters the name "AVRlib" will be there.  Simply click and download.