boylesg
1
I did a few minor code tweaks to my arduino code and got my RGB cube related classes working in an MFC windows application.
So I can test my animation functions, like doLine(...), in the absence of a physical RGB cube.
Works pretty well although the 2-D arrangement of RGBs in a 3-D cube is a little ugly, but it is still never the less usable.
boylesg
3
AWOL:
Was there a question?
It was a share rather than a question.
Probably should attach my code in case anyone else finds it useful.
Colour.h (658 Bytes)
Colour.cpp (978 Bytes)
RGB_LED.cpp (2.43 KB)
RGB_LED.h (1.06 KB)
boylesg
4
More attachements...
I wont attach the rest of the visual c++ project wizard generated files because I have not altered them.
RGB_Cube.cpp (13.2 KB)
RGB_Cube.h (2.27 KB)
RGB_TestView.h (1.76 KB)
RGB_TestView.cpp (4.36 KB)