Skip to content
Snippets Groups Projects
Commit 104b4564 authored by Florian Schmaus's avatar Florian Schmaus
Browse files

TMR: Use N=3 in fixedpoint library

Allowing volts to range to 15V (see updated exercise).
parent 7c528043
No related branches found
No related tags found
No related merge requests found
#include "fixedpoint.h"
enum {
N = 5,
N = 3,
};
static const int16_t K = 1 << (N - 1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment