Hi,
First time I tried C++, but couldn't make my program working. Can anyone suggest me how to write program in C++. I am using CW v4.5 special edition. I tried to create a class and make output of Port H high. I always keep on getting errors.
Can anyone suggest me with possible small example.
Thanks
Hello
Are you using a special edition of CodeWarrior for HC12 V4.5?
If this is the case you have to keep in mind that you are limited to 1024 bytes of C++ code in your application.
Special edition does not allow unlimited C++ programming. You need the professional edition to get unlimited C++ support.
Also keep in mind that due to the HC12 architecture the compiler does not support full C++, but mainly embedded C++.
You can find a small example of C++ programming in the layout. Look at
{Install}\(CodeWarrior_Examples)\HC12\HC12 SIMULATOR\HC12 C++_Simple
I hope this helps.
CrasyCat