please help, how to control a speedometer

Hi guys, I bought an instrument panel that has tachometer and speedometer

the tachometer works perfectly with the tachometer function in simhub !
i searched the google about how to control a tachometer with an arduino and i found the below code and thats work too :
tone(TachoPin, (RPM * 4) / 120);

but I have issue to how to control the speedometer ?? can anyone help me ?
thanks
 

Latest News

To join the OverTake Racing Club races I want them to be: (multiple choice)

  • Free to access

    Votes: 156 87.2%
  • Better structured events

    Votes: 29 16.2%
  • Better structured racing club forum

    Votes: 25 14.0%
  • More use of default game content

    Votes: 23 12.8%
  • More use of fixed setups

    Votes: 52 29.1%
  • No 3rd party registration pages

    Votes: 65 36.3%
  • Less casual events

    Votes: 15 8.4%
  • More casual events

    Votes: 58 32.4%
  • Other, specify in thread

    Votes: 10 5.6%
Back
Top