Crossware

Table of Contents        Previous topic       Next topic       

Using the Visual C++ Custom AppWizard->Tutorial - Creating an Extension with the AppWizard->Edit and Compile your 8051 Program

Edit file main.c adding the line:

printf(Hello world\n);

after the TODO comment:

    _InitSerialPort();
    // TODO: Add your source code here
    printf(Hello world\n);

Select Rebuild All from the Build menu and wait while startup.asm is assembled, main.c is compiled and the resulting object files linked.

Your program is now ready to run in the Virtual Workshop.