Search results

  1. O

    digitalWriteFast with AnalogWrite - Compatibility?

    Thanks Paul, you're awesome!
  2. O

    digitalWriteFast with AnalogWrite - Compatibility?

    Hi, quick question. In the Teensy core code, the analogWrite() function uses the standard digitalWrite() function when the duty cycle is <= 0. Why isn't the digitalWriteFast() function used, instead? In programs using analogWrite(), can I use digitalWriteFast() to turn the same pin all the...
  3. O

    Trouble Using PulsePosition Library with Shift Register

    You're right! I went back and looked at the data sheet and library, and it makes no sense to connect it to the framePin. The instructions on the library weren't connected to the sketch, so I didn't see that pin 2 on the Teensy was being turned on for that reason. So, pin 9 on the register is...
  4. O

    Trouble Using PulsePosition Library with Shift Register

    [Solved] Trouble Using PulsePosition Library with Shift Register Hey all, I'm attempting to use Paul's PulsePosition library to interface with a group of servos, but I haven't been able to get the shift register to output anything useful. The library appears to be working flawlessly, using...
  5. O

    BLDC Motor Control - Teensy 3.1 PWM capabilities?

    I've got another question that might be easier to answer: In the A4935 datasheet, pages 14 and 15, it describes a way to access a register that I don't recognize. The pins used are dual purpose, interrupt and data transfer. It looks very similar to I2C in format; the master feeds a clock...
  6. O

    BLDC Motor Control - Teensy 3.1 PWM capabilities?

    Hey all, I'm working on a making a brushless motor controller that I can use for a variety of motors and situations. I was hoping to use a Teensy 3.1 as the brains, for sensing motor position, control inputs, and calculating PWM outputs. I'm still reading up on the various control methods...
Back
Top