Shop OBEX P1 Docs P2 Docs Learn Events
Is there any way to invert PWM signals on BS2? — Parallax Forums

Is there any way to invert PWM signals on BS2?

XypherXypher Posts: 10
edited 2009-11-18 08:38 in BASIC Stamp
I need to create a 4-channel PPM wave using inputs to the BS2. However they have to be "active low". That means the on is 0 and off is 1.

Is there any command/technique to invert the signal?

thank you.

Comments

  • Beau SchwabeBeau Schwabe Posts: 6,559
    edited 2009-11-12 15:34
    Xypher,

    I would say, just invert it in software, but the PWM function exits leaving the PIN LOW even if you force it to be a HIGH prior to the PWM command.

    In this case I would use a simple transistor inverter or an IC such as a 74HC14 to provide my inversion.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
  • XypherXypher Posts: 10
    edited 2009-11-18 08:38
    thanks. I got myself a 7404 NOT gate. HD74LS04P from hitachi.
Sign In or Register to comment.