Introduction to microcontroller programming course

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
randomrichard
Posts: 41
Joined: Thu Oct 16, 2008 11:01 am
Has thanked: 21 times
Been thanked: 7 times

Introduction to microcontroller programming course

Post by randomrichard »

Great course, and a bargain. Avoiding the following may help other beginners like myself:

Flowcode step-by-step/Digital inputs - won't work without a While 1 loop

/Basic loops - equipment setup omits the switch block EB7

/Binary numbers/setup output - should be "output results to port D"
/slow simulation - diagram should show 7 not 8 switches. In Flowcode4 you have to "add variables" to see them during simulation (WHY?)

/Decisions/Adding the LEDs - should say "select two LEDs" and then map the left turn to bit 1 not bit 7, etc. (left and right are confused as the example is written)

/seven segment displays/Getting the timing right - Flowcode4 only has "TMRO" option not "TMRO overflow"

/Strings and Memory/Getting a phone number - third para from bottom; "the value KEY" should read "the value PTR" - but the example doesn't work in Flowcode4 because the Keypad macro use causes a "missing semicolon" C to HEX compilation error (whatever that is?)

I haven't done the HiFi yet...

Post Reply