Thought for the Dazed

I've had to give up that Distance Learning course as I was having trouble seeing the teacher.

Flickr
www.flickr.com
RobMiles' items Go to RobMiles' photostream
Twitter
C# Yellow Book

Search entire site
« Make Anything | Main | Warioware Smooth Moves for the Wii »
Sunday
Jan142007

Code that sucks

I'm writing some background stuff for the .NET Micro Framework book. We've been working on the final project, which we want be a mobile robot of some kind. I suggested a Micro Framework controlled vacuum cleaner, and so today I started work on the emulation environment for it.

The idea is that we can simulate "pixel dust" on the floor and the "virtual sucker" will sweep this up and collect it. Our vacuum will have a dust meter which will allow it to tell how much dust is being collected and the name of the game will be collect as much dust as possible whilst avoiding crashing into the "virtual furniture". Then we are going to try to put exactly the same code into a real roving robot and see what happens, Great fun.

It also means that I can write properly factored, well commented code with methods called "doSuck". Wonderful.

Reader Comments (2)

Please post some examples of using XAML with the LCD screen.
January 16, 2007 | Unregistered CommenterOguz
The presentation manager in Micro Framework doesn't actually support XAML as such. Rather it supports the same objects that are used to underpin WPF and are configured on Vista using XAML. The good news (for me at any rate) is that I'm not that bothered about using a markup language to design my pages and feel quite at home creating objects and setting properties instead (in fact I do this on Vista as well).

In other words, the first half of Charles Petzolds book (http://www.charlespetzold.com/wpf/) is all you need to read.....
January 16, 2007 | Registered CommenterRob

PostPost a New Comment

Enter your information below to add a new comment.
Author Email (optional):
Author URL (optional):
Post:
 
All HTML will be escaped. Hyperlinks will be created for URLs automatically.