You are reading a single comment by @NoobJS and its replies. Click here to read the full conversation.
  • The readings will be outlined differently than in the video because the bike reaches 100km/h in less than 4 seconds. The speed sensor is a magnet attached to the wheel and an electromagnetic sensor that is triggered when the magnet passes near it. Readings will come in 0, ~22,~44,~57..... It might be worth creating another variable to store the time it takes to render one character or the whole number. Then as soon as a reading is shown on the display, the next reading from the sensor will be read and shown immediately.
    And here is the question, whether using :

    setWatch(callback, pin [, opts])
    

    Will this method be able to trigger the tachometer frequency (14000 rpm)?

About

Avatar for NoobJS @NoobJS started