MCPcopy Create free account
hub / github.com/PaulStoffregen/Encoder / write

Function write

Encoder.h:134–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132 return ret;
133 }
134 inline void write(int32_t p) {
135 noInterrupts();
136 encoder.position = p;
137 interrupts();
138 }
139#else
140 inline int32_t read() {
141 update(&encoder);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected