Loading...
Pages: [1]   Go Down
Author Topic: Pulse In  (Read 381 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Sr. Member
****
Karma: 0
Posts: 250
Arduino is the brain of the robot.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello, I have recently come across this code, http://www.arduino.cc/en/Reference/PulseIn

I know what it  does: reads the pwm input. But I don't exatly know how to use it. Is there any examples on setup, and projects asscoiated with Pulse In, or maybe some better documentation would help...? Thanks guys!
Logged

Global Moderator
UK
Online Online
Brattain Member
*****
Karma: 144
Posts: 19381
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This isn't really a bug or suggestion, is it?
What's wrong with the documentation here:http://arduino.cc/en/Reference/PulseIn?
Quote
I know what it  does: reads the pwm input.
No, not really; it reads any digital input and allows you to measure the width of positive or negative pulses.
Logged

Pete, it's a fool looks for logic in the chambers of the human heart.

Pages: [1]   Go Up
Print
 
Jump to: