Skip to content

Frangitron/arduino-python-serial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino Python Serial

/!\ BETA VERSION

Bidirectionnal serial communication (C Structs and Python Dataclasses) between Python and Arduino

  • declare type hinted Dataclasses in Python
  • generate C Header files
  • send and receive data from both Python and Arduino through serial communication

Meant to be used with Python Arduino Serial

Usage

Protocol

Message topology (bytes)

0 1 2 n n + 3
begin direction data type data end
------- header header data -------

note data is omitted when sending a reception request (only data type is sent)

About

Bidirectionnal serial communication (C Structs and Python Dataclasses) between Python and Arduino

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages