No changes need be done, although I would like to:
[x] Remove the base-class TWI and change it to a namespace instead.
[x] Probably even the TWI-Handler. The TWI-Jobs can NOT be made Namespaces, their pointers are needed!
[x] There could also be some really good re-structuring of how the sequences works (As in, make it easier to interface and configure from within the jobs)
[ ] Comment the lines a LOT more
[x] Add an enum for the TWI status codes, instead of the countless #defines.
[x] Change the Jobs - We don't need two, just one type with a "Master/Slave" flag.
No changes need be done, although I would like to:
enum
for the TWI status codes, instead of the countless#define
s.