Go Down

Topic: well I have amassed enough cool stuff...lets build something! Code help please. (Read 1 time) previous topic - next topic


Wasn't that obvious? It needs to make toast.  8)

Are you insane? You need it to (1) deliver a cold beer to your hands, without your having to move from your chair. And then 15 minutes later: goto 1. (oops, used goto).

Rewording without using goto:

Code: [Select]
while (owner_is_sober)
  deliver_beer ();
Please post technical questions on the forum, not by personal message. Thanks!

More info: http://www.gammon.com.au/electronics


I hope that deliver_beer() has some affect on owner_is_sober. Otherwise, that's an infinite loop. Not that that's all bad...  8)
The art of getting good answers lies in asking good questions.

Go Up