Skip to content

Instantly share code, notes, and snippets.

@currentleak
currentleak / fixedpoint-pid.c
Created Aug 3, 2020 — forked from oldrev/fixedpoint-pid.c
Fixed-Point PID Algorithm
View fixedpoint-pid.c
// Fixed-Point PID Algorithm
// Ported from: https://gist.github.com/bradley219/5373998
// Author: Li "oldrev" Wei <oldrev@gmail.com>
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <stdio.h>
#define FIXED32_Q (16)
@currentleak
currentleak / .gitignore
Created Aug 3, 2020 — forked from bradley219/.gitignore
PID C++ implementation