Menu

pGlobals

Perrotti

pGlobals.h

Types
uint: unsigned int
ulong: unsigned long
voidFunction: void function without arguments

Macros
sprint (a): Serial print with one argument (Serial.print (a)).
sprint2 (a, b): Serial print with two arguments.
sprint3 (a, b, c): Serial print with three arguments.
sprint2d (caption, v1, v2, suffix): Serial print in format: caption(v1,v2)suffix

circularInc (value, limit): Circular increment
circularDec (value, limit): Circular decrement
circularNext (value, limit): Next value in circular increment
circularPrev (value, limit): Previous value in circular decrement

Definitions
mv_XXX: Movements executed by the motor control libraries

Functions
int freeRam();
float fmap(long x, long in_min, long in_max, float out_min, float out_max);
boolean inRange(float value, float in_min, float in_max);


Related

Wiki: Home

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.