One Dimensional Microcontroller Physics Engine