How exciting can 8 LEDs be?

Filed under: life — jaydublu @ 8:12 pm

Hello World!It’s the Microcontroller equivalent of ‘Hello World!’ – getting 8 LEDs to light signifying that you’ve put a data port into ouput and changed the bits from 0 to 1.

It might not seem like much progress towards an autonomous (or semi- autonomous) vehicle, but in reality it’s a big step, because it means I have all I need to program 16 bit controllers.

I had a bit of a dud start yesterday – impatiently I dove straight into instant gratification and tried to get one of the higher value examples going, but nothing seemed to play ball.

So, calmly, one step at a time, RTFM and surprise, surprise, it does what it says on the can.

As long as progress is being made, no matter how small the steps, then all is good. After all if it all happened too quickly and easily, it would be no fun would it?

I take it back (sorry!)

Filed under: tinkering,trundle — jaydublu @ 7:58 pm

Further to my rash proclamation that I hate Windows programming! I have to humbly issue a retraction (lest the machines drive me mad)

It turns out that I’m just too lazy and impatient to RTFM.

Having stepped back a bit, dug out some old books and done a bit of Googling, I’m getting it under control and one of the main driving factors of this project is coming into play – i.e. it’s a big learning experience in an arena that I have had not enough exposure to.

My demands on the Windows development aspect of it are not enough to warrant my tirade – since that impetuous posting I’ve actually got on quite well and have serial communication starting to happen. What’s holding me back currently is my inadequacies in C (let alone C++) programming but I will have to sort that out as I currently intend to use C to program the Microchip devices.

So where did I stash my old Uni textbooks? I know I’ve got kernighan and ritchie somehwere!


Filed under: opinion,web development — jaydublu @ 1:46 pm

I’ve used Joomla! a few times in the past to deliver community based sites that need a CMS but can’t justify having huge amounts of time spent on developing the site. It’s taken a few goes, getting more comfortable every time (I’m too lazy to RTFM) but I might be starting to get it.

As with many things on the web, it’s not quite like anything else and there’s a critical mass of knowledge you have to accumulate before you really understand what’s going on and make good decisions.

I’ve been asked to help out with a site for a school – in theory Joomla! should be ideal.

My biggest challenge is deciding when to use static content and when to use the section/category com_content or whatever-it’s called. Ideal for blogging, news stories etc., but not so good for more brochureware type sites.

And then there’s the menu (navigation) – there seems to be a very tenuous link between the menu and the content – often you have to duplicate a content object with a menu item, then sort it, and if you want to change the type of object a menu item links to (Link – category item for instance) or the specific object – you have to delete it and make a new one.

It’s also a shame that the core user functionality can’t restrict users to specific areas of the site – you can’t have one group edit one area and another group manage a different one.

Anyway, I’m sure there are mods and bots that can address this, but I’ve been too lazy to find them – I’m managing to get it doing what I want now.