/Arduino-PID-Sim

A small simulation platform for the Arduino-PID library, running on x86 architecture

Primary LanguageC++MIT LicenseMIT

Run Arduino-PID tester without an Arduino

I made this repo because I wanted to run br3ttb's Arduino PID library and its tester without physically have an Arduino, and running all the code on an x86 machine (Mac OS or another system with llvm) instead.

The final objective is to compare the tester's output with its Kotlin port.

The repo contains a copy of the PID tester, modified to run in simulation time, a minimal Arduino SDK and a makefile to compile the program and produce the output.

In order to be built, it requires my fork of the PID library to be cloned in a sibling directory named Arduino-PID-Library. See the makefile for reference.