DarthAffe / OBD.NET

C#-Library to read data from car through an ELM327-/STN1170-Adapter
GNU General Public License v2.0
178 stars 82 forks source link

Parameter ComPort needed #10

Open nadeem2nazar opened 5 years ago

nadeem2nazar commented 5 years ago

when i run this program it gives message "Parameter ComPort needed". where should i pass comp port my com port is 5.

public static void Main(string[] args ) {

         if (args.Length < 1)
           {
              Console.WriteLine("Parameter ComPort needed.");

               return;
           }
sukesh-ak commented 4 years ago

COM Port needs to be passed as a command line parameter