SofaPirate / Plaquette

Object-oriented Arduino library for creative physical computing
https://sofapirate.github.io/Plaquette/
GNU General Public License v3.0
15 stars 4 forks source link

Add a speed() function to Ramp #112

Open sofian opened 6 months ago

sofian commented 6 months ago

Instead of a duration, there are many scenarios where what matters is the speed at which the ramp moves (for example when moving a motor). So we should be able to use speed(float) it instead of calling duration(float).