Archive for the ‘C’ Category

New Project LEDCube2009

I’m working on a new project at school. This time it’s all about an Embedded system. Programmable in C18 ( Microchip’s ripoff of regular C99? ) on the PIC 18f4550 the same device I’ve used for my PONG on glcd.
For this project I’m going to build a LED cube. Here suppose to be a boring text about LED [...]

Source: gLCD ks0108 for PIC available

The KS0108 for PIC (18f series) source code is online. Package contains of:

PIC lib for input output;
Setting single pin on/off;
gLCD lib write only;
Writing char, String at coordinate.

Note: it’s under GPL license. Goto project page.

PONG finished gLCD

Yeah we’ve done it. Finally PONG on a embedded device is finished! Check out the project page gLCD. Last night me and Pieter stayed at college until 10 ‘o clock PM (really that late), and with results. The game is playable by a minimum of two ‘humans’.
 
Check out the video on YouTube

gLCD in C project

Me and a classmate are busy creating a PONG game on an embedded system. Today we’ve made a library for the KS0108 gLCD controller. 
Here’s the result.
gLCD Picture 1

gLCD Picture 2

Over the next couple of day’s I will post more info about this project.

Summer of C

After finishing my propedeuse I’ve decided to buy a programming book of C. I’ve always wanted to learn the language, and my summer will otherwise be dominated by playing games, a waste of time.
At first glance the syntax of C is a lot like Sun’s Java. Java is a language derived from C so no [...]