Pages: [1]   Go Down
Author Topic: MFC Windows App to test my RGB cube animation functions  (Read 379 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 0
Posts: 241
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 240
Posts: 24433
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Was there a question?
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Offline Offline
Full Member
***
Karma: 0
Posts: 241
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 (0.64 KB - downloaded 9 times.)
* Colour.cpp (0.96 KB - downloaded 11 times.)
* RGB_LED.cpp (2.43 KB - downloaded 9 times.)
* RGB_LED.h (1.06 KB - downloaded 9 times.)
Logged

Offline Offline
Full Member
***
Karma: 0
Posts: 241
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.24 KB - downloaded 14 times.)
* RGB_Cube.h (2.27 KB - downloaded 11 times.)
* RGB_TestView.h (1.76 KB - downloaded 11 times.)
* RGB_TestView.cpp (4.36 KB - downloaded 10 times.)
Logged

Pages: [1]   Go Up
Jump to: