Skip to content

vnoll/serial-cmd-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SERIAL command parser for ATMEGA328

This project implement a serial command parser for ATMEGA328 (arduino).

It is simple and powerfull.

Objective: parser and execute commands that arrived from serial

Characteristics:

  • Compile using Microchip Studio for ATMEGA328P microcontroller (same for arduino)
  • Send by Serial one string until 20 characters
  • It is necessary start with < and finish with >
  • Permit use of backspace case necessary
  • test if the command is valid
  • Possible 2 mode execute command: one shoot or continuos
  • commands possibles in this example = LED_ON, LED_OFF, LED_BLINK, HELP
  • internal commands = STOP_FUNCTION (for one shoot command), INVALID
  • This example use LED Pin in Arduino UNO (PORTB5 or 13)

About

Serial command parser for ATMEGA328P (arduino)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages