Giter Club home page Giter Club logo

jpeg_2_serial's Introduction

JPEG 2 SERIAL

JPG 2 SERIAL is a cross-platform command line tool built with .NET Core for uploading an image, or multiple images, over a serial connection to an awaiting device.

Notes

This tool is case sensitive, therefore, None must have a capital N.etc.

Usage

With the JPG_2_SERIAL.exe in the same folder as FILENAME.JPG and a sub-directory called IMAGES/ which contains multiple images.

./JPG_2_SERIAL.exe -input=FILENAME.JPG -mode=single -baud_rate=9600 -port_name=COM4

./JPG_2_SERIAL.exe -input=DIRECTORY/ -mode=sequence -baud_rate=9600 -port_name=COM4

Available Arguments

Argument Name Valid Input Optional? Description
-input NO Set the target file or directory (see the mode argument).
-buffer_size Default: 1024 YES Sets the number of byte wrote in one buffer.
-delay_time Default: 10ms YES Sets the amount of time between each buffer write.
-mode single,sequence NO Single file upload or upload a directory or images?
-baud_rate NO Set the baud rate for the serial connection.
-port_name NO Set the serial port object's target port's name.
-parity None,Odd,Even,Mark,Space NO Set the parity of the serial connection.
-data_bits YES Set the data bits
-stop_bits None,One,OnePointFive,Two YES Set the stop bits
-handshake None,XOnXOff,RequestToSend,RequestToSendXOnXOff YES Set the handshake
-read_timeout Default: 500 YES Sets the read timeout (ms)
-write_timeout Default: 500 YES Sets the write timeout (ms)

jpeg_2_serial's People

Contributors

bambofy avatar jgromes avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.