I think I saw some project in the forum here going this route, but currently I cannot find it.
Never mind, that happens many times also to me. Then I regret I did not add it to my favorites
A link to that project is available in the same thread Mbed OS - New Freatures - #10 Marquesas - Mbed-Based Open Source Digital Gauge Cluster published by George Besckstein.