Menu
Cutty
  • Chryslers
  • Lutherie
  • YLSNED
  • About
Cutty

Tag: C#

Controlling the parallel port using Ubuntu, Mono and C#

Posted on December 12, 2012February 19, 2015 by Iain 'Cutty' Carlin

I have an old PC that I use to control my christmas lights. They are driven by an electronic box that I build that plugs into the parallel port which then drives 8 outputs to switch them on or off.

I had written a C++ program that I was previously running on an old Dos box, but the machine this year. I opted to use a slightly newer spare machine and to run Ubuntu on it. I was keen to use Mono to learn a bit about it (as I program in C#.Net on Windows for a living).

Unfortunately there’s no libraries in C# for accessing parallel ports (at least not that I could find).…

+

Recent Posts

  • Lawson – A life in words and music
  • Instrument Making Course
  • Jigging, plating and sanding
  • A building block….
  • Fridays are lutherie days!

Categories

  • Chryslers (1)
  • Cutty's Blog (8)
  • Lutherie (38)
  • You Learn Something New Every Day (40)
©2023 Cutty | Powered by WordPress & Superb Themes