View Single Post
Old Jul 20th, 2006, 6:38 PM   #14
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
Quote:
Originally Posted by andro
Is using C# a possiblity for this project? Serial port access in C# is really simple.
With the right library, it's easy in any language:
C# Syntax (Toggle Plain Text)
  1. SerialPort port = new SerialPort("COM1", 9600);
  2. port.Open();
  3. port.Write("Hello World");
  4. port.Close();
Python Syntax (Toggle Plain Text)
  1. port = Serial(0, 9600)
  2. port.write("Hello World")
  3. port.close()
Arevos is offline   Reply With Quote