What is the pin_t datatype

I’m working with the RGB library and noticed the “pin_t” datatype in the example for the onChange method.

I haven’t seen this before and can’t find any reference to it. I assume it’s a datatype for holding pin names. Does anyone have any additional information on it?

This can be found in pinmap_hal.h in the open source repo.

typedef uint16_t pin_t;
1 Like