foxsi / foxsi-4matter

Code for FOXSI-4 formatter.
https://foxsi.umn.edu/
1 stars 3 forks source link

Wrapping UART sender in a class #33

Closed KriSun95 closed 10 months ago

KriSun95 commented 1 year ago

A follow on from #32.

This is a decent description of C++ classes, and the EndpointData class in LineInterface.h (in the Formatter code) is a simple implementation of a class. Note how definition/implementation are broken between the .h and .cpp files. Some things to know about C++ classes:

From Thanasi's Google Doc