1

Topic: nodemcu,hall effect module

I have a futaba fp s148 servo ,two relay modules and now i want to get the rpm reading of an electric motor using a hall effect module. i can displayit on a lcd screen but i want to r4ead it on remotexy gui. Any suggestions greatly appreciated. Awesome app may i say. not to hard to get started with. ty developer

2

Re: nodemcu,hall effect module

Use function itoa or similar, to convert the number into a string.

itoa( rpm, RemoteXY.text_1, 10 );

3

Re: nodemcu,hall effect module

Thank you. I will try that when i get home. Will let you know how it goes.

4

Re: nodemcu,hall effect module

"Converting sensor values into a text string for display in the GUI is performed using dtostrf() function from standard library". A  sentenced in the DTH11 tutorial

"  dtostrf(rpm, 0, 1, RemoteXY.text_rpm""

Thank you Guillaume for your fast reply.

5 (edited by Guillaume 2017-10-01 03:19:14)

Re: nodemcu,hall effect module

wink

You could also use sprintf for advanced formatting.