Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: Teensy 3.1 Pulse sensor port

  1. #1
    Junior Member
    Join Date
    Dec 2014
    Posts
    2

    Teensy 3.1 Pulse sensor port

    I am currently trying to get the SparkFun Pulse sensor module to work with a teensy 3.1.

    I am currently just trying to get the demo code working to use as a basis for further development,

    The problem I am having is although the code compiles and load onto the board when run the sketch does not appear to be reading from the analogue input, with an value of 0 being output for raw sensor output over the serial port.

    When i run the analogue example sketch for the same pin the raw sensor data is reported correctly.

    Source code attached,

    (edit) - used analogue read to probe input pin directly - sensor value is displayed correctly, but var signal is still staying 0 .

    any help greatly appreciated.

    Fraser
    Attached Files Attached Files
    Last edited by fhynd; 12-01-2014 at 01:29 PM.

  2. #2
    Junior Member
    Join Date
    Dec 2014
    Posts
    2
    Can anyone see where im going wrong?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •