You may have wondered just what has happened to the much-trumpeted project of a few months ago; namely the Plot Power Project and the electric bikes we were getting all in a fizz about.

Well, Dear Reader, you can wonder no more!

Now the growing season has just about finished and the utter circus that was Allotment Soup is finally out of the way, along with those three major projects, I’ve gone back to the bikes with renewed vigour.

Well, I think its vigour, because once again its keeping me awake at nights.

‘So whats the latest??!!’ You scream.

Well, things have definitely moved on.

Whereas before we were using PIC assembler language (PIC ASM), now we’ve had to move on to ‘C’ for the PIC.

We’ve had to do this because the maths required has just leaped up a notch as we implement the distance traveled and mean speed functions.

For those not in the know, assembler is the real nuts-and-bolts, individual bits and bytes control; ‘C’ allows for more ‘English’ looking and reading code.

For those of a certain age, it looks and reads a little like the BASIC of old so favoured by the BBC B and ZX81 micros but with added refinements.

There were, of course problems with this.

Firstly, getting the ‘C’ compiler to bolt-in to the Microchip Integrated Development Environment (IDE) was a nightmare.

Then, there was the problem that Hi-Tec who produce the compiler have released virtually no how-to manuals, so you’re on your own!

Anyway, I’ll not bore you further dear reader until I have some pretty photos of it in the coming days.

Suffice to say, the other night, I got an LED to flash with a ‘C’ program, so now I just have to get the interrupts working, and we’re away.

So close, and yet so far…

 

Print Friendly