Shop OBEX P1 Docs P2 Docs Learn Events
Sample code — Parallax Forums

Sample code

lisandrolisandro Posts: 8
edited 2006-07-27 21:42 in BASIC Stamp
Hi

Im lokking for some sample code to be able to adjust speed of two DC motors, without using PMWPAL, im using only the BS2 with out any other help.

please anu one can help me!!!!! turn.gifhop.gifhop.gif

Comments

  • aalegadoaalegado Posts: 66
    edited 2006-07-18 18:47
    Do you have a circuit in mind to drive the motors? This will affect the nature of the code.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    I wouldn't connect that if I were you...

    Vive Le Tour!
    July 1 - July 23
  • willthiswork89willthiswork89 Posts: 359
    edited 2006-07-18 20:29
    i had to get a mosfet and Smile and it was really annoying and overheated and such ide rather just use servos
  • $TAMP&ME$TAMP&ME Posts: 18
    edited 2006-07-27 21:42
    i'd recomend you to use at least a bridge with pwm serial modulation or u could just use the digital pot included in the bs2 what's a microcontroller? kit
Sign In or Register to comment.