Returns the current acceleration.
planetcnc.hw_accel()
#! /usr/bin/env python import planetcnc acceleration = planetcnc.hw_accel() print("Current acceleration:", acceleration)