Netduino home hardware projects downloads community

Jump to content

The Netduino forums have been replaced by new forums at This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

KS0108 Driver

  • Please log in to reply
4 replies to this topic

#1 Roceh



  • Members
  • PipPip
  • 11 posts

Posted 26 September 2010 - 10:38 AM

Heres a very basic KS0108 driver that uses native code to speed up the screen update. A little video of the kind of performance i got out of it: quality of the video isnt the best. This is using a framebuffer (2k of ram used!) method to keep things simple and get the best speed, it could be modified to be do a read/modify/write method. Its also using a lot of IO, i wired up the LCD as per an article i found for the arduino http://www.arduino.c...Code/GLCDks0108

Attached Files

#2 hari


    Advanced Member

  • Members
  • PipPipPip
  • 131 posts

Posted 26 September 2010 - 05:23 PM

Heres a very basic KS0108 driver that uses native code to speed up the screen update. A little video of the kind of performance i got out of it:

WOW! That's cool!
Thanks for sharing the code too.

#3 Mark H

Mark H

    Advanced Member

  • Members
  • PipPipPip
  • 70 posts
  • LocationPerth, Western Australia

Posted 26 September 2010 - 06:06 PM

Very nice! Writing code for one of these was about 3rd on my todo list, so i guess i dont need to worry about that any more! Thanks!

#4 Crispin


    Advanced Member

  • Members
  • PipPipPip
  • 65 posts
  • LocationLondon, England, Earth

Posted 26 September 2010 - 09:22 PM

Very cool. I have a couple of these LCDs (£3 from boot sale!) just never had the b@lls to write any code for them :)
Take a seat, I'll be right with you.

#5 Random


    New Member

  • Members
  • Pip
  • 1 posts

Posted 25 October 2010 - 10:48 PM

Thanks for the driver. It is what I have been searching for. This is my first project with .NET Micro Framework and unfortunately I couldn't get this to work with just the readme guidance.

"put the OpenLabs.NETMF.Hardware.LCD folder in the DeviceCode\Interop\ folder"
C:\MicroFrameworkPK_v4_1\Solutions\EA_LPC2478\DeviceCode\Interop\, is this right?

"put the OpenLabs.NETMF.Hardware.LCD.featureproj Framework\Features\ folder"
C:\MicroFrameworkPK_v4_1\Framework\Features\, right?

"then add the OpenLabs.NETMF.Hardware.LCD feature to the netduino solution via the Solution Wizard."
Microsoft .NET Micro Framework Porting Kit v4.1 > Solution Wizard - Netduino, right?

"recompile firmware and download."
I tried to find information how to compile the firmware, but I got very confused. Is this the way to go?
Building a custom version of the .NET Micro Framework for a device emulator
Looks very complicated just to get something to build.

Where to download the compilation?

"Run the demo application to see a simple starfield on your display."
I have already ran a blinking led demo, so I think I'm able to do this one.

Thank you

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.