-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Smart Port #4
Comments
Hi marwand, The smartport use a cyclic pull of addresses, which triggers the answer. The EagleTree RPM sensor gives a pulse at every rotation. It is very Here is some part of code I did write for a simple RPM counter. I've Regards, Jean-Christophe Heger #define RPM_PIN 2 unsigned long sum = 0; void setup() { void loop() { delay (1000); freq = (sum) ? ((float) count * 1000000.0 / (float) sum) : 0.0; attachInterrupt (0, rpmISR, RISING); void rpmISR () { if (last_micros) { last_micros = micros (); Le 24. 12. 15 12:04, marwand a écrit :
|
Thanks a lot man. Hope you're enjoying your holidays! |
Hello jcheger,
This is more of a question than an issue and I apologize for contacting you this way. I was wondering if the arduino can read rpm without having the smart port connected. I have an eagle tree brushless rpm sensor and everything is connected according to the diagram provided (except the smart port) and I'm getting no output from the arduino. I suspect that the smart port is needed because of the line [FrskySP FrskySP (10, 11);]. Also, is all the decoding happening through the smart port? Is there any way around it? Finally, can I get more information about the smart port?
Thank you very much & I appreciate your help.
The text was updated successfully, but these errors were encountered: