Skip to content

Latest commit

 

History

History
45 lines (24 loc) · 2.19 KB

README.md

File metadata and controls

45 lines (24 loc) · 2.19 KB

Programming the Serial Port using C#(CSharp) on NET Core and Dot Net Framework


  • The code uses the SerialPort class from .Net Framework/NET Core 3.1
  • Code opens up a Serial port on Windows PC for communiating with a Microcontroller board (MSP430 Launchpad/ATmega328P).
  • Code transmits and receives between PC and Micro Conntroller
  • The code also shows how to control the RTS and DTR pins of the serial Port

Online Tutorial


Details

  • Code can be compiled using

    • Microsoft Visual Studio Community
  • Code will work with traditional serial ports as well USB Serial Converters.


ScreenShot of the Program

  • Program Receiving the data transmitted from ATmega328P Microcontroller (Lauchpad board).

  • Code running on NET Core 3.1

Devices used