- #1
- 1,757
- 17
So, I'm writing assembly language code to drive a fan by varying the pulsewidth.
Halfway through (6 hours or so ago) I try to compile it.
The compiler software is a piece of crap (code uses a structured assembly language, so it doesn't recognise anything), and I need to bring everything into one directory (in a different spot where I originally had it), and run a separate file to compile it.
No problems.
Keep coding.
and coding.
and coding.
Finally finish, and compile. Upload it to my microcontroller. Flip the switch. Fan no go, and I have a typo in the LCD display.
Look at the code, find the problems. Transposed the ASCII character, and sent power to the wrong bit, so it wasn't powering the fan.
Fix it, recompile, resend, run. Hrmm... still using the old code (the typo isn't fixed)
Go back into the first compiler (I was going to remove the structured assembly parts), run compile, go to the first problem, fix it.
Save as...
The mvdrfvkn workspace still had the old file as the active one.
So, I basically just wiped out 6 hours worth of work.
*sigh* Back to work.
Halfway through (6 hours or so ago) I try to compile it.
The compiler software is a piece of crap (code uses a structured assembly language, so it doesn't recognise anything), and I need to bring everything into one directory (in a different spot where I originally had it), and run a separate file to compile it.
No problems.
Keep coding.
and coding.
and coding.
Finally finish, and compile. Upload it to my microcontroller. Flip the switch. Fan no go, and I have a typo in the LCD display.
Look at the code, find the problems. Transposed the ASCII character, and sent power to the wrong bit, so it wasn't powering the fan.
Fix it, recompile, resend, run. Hrmm... still using the old code (the typo isn't fixed)
Go back into the first compiler (I was going to remove the structured assembly parts), run compile, go to the first problem, fix it.
Save as...
The mvdrfvkn workspace still had the old file as the active one.
So, I basically just wiped out 6 hours worth of work.
*sigh* Back to work.
Last edited: