Yes, the numbers that I have put up there are not correct, it was just an example so you would be able to understand what I meant. But I understood perfectly now, your explanation was awesome. And I have another question, I'm using an accelerometer to measure vibrations with this waveform, however this waveform is only for one axis. If I wanted to measure these values in the three axis (X, Y and Z) with this waveform function, how could I do?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hello Gordon,
Yes, the numbers that I have put up there are not correct, it was just an example so you would be able to understand what I meant. But I understood perfectly now, your explanation was awesome. And I have another question, I'm using an accelerometer to measure vibrations with this waveform, however this waveform is only for one axis. If I wanted to measure these values in the three axis (X, Y and Z) with this waveform function, how could I do?