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

  • Books I read in 2025
  • 2024 was the best year for our solar system
  • Books I read in 2024
  • Books I read in 2023
  • Happy New Year 2024

Categories

  • Chryslers (1)
  • Cutty's Blog (13)
  • Lutherie (38)
  • You Learn Something New Every Day (44)
©2026 Cutty | Powered by Superb Themes