Git Product home page Git Product logo

arduino_hexdump's Introduction

Arduino_HexDump

An Arduino library for hexadecimal/ASCII dumping of data

A typical example to dump a block of data to the serial console:

uint8_t data[100];

HexDump(Serial, data, sizeof(data));

The generated hexadecimal dump will be something like (data is wav file header on ESP8266):

00000000: 52 49 46 46 00 00 00 00 57 41 56 45 66 6D 74 20  RIFF....WAVEfmt 
00000010: 12 00 00 00 01 00 01 00 44 AC 00 00 88 58 01 00  ........D¬..ˆX..
00000020: 02 00 10 00 00 00 4C 49 53 54 1A 00 00 00 49 4E  ......LIST....IN
00000030: 46 4F 49 53 46 54 0E 00 00 00 4C 61 76 66 35 35  FOISFT....Lavf55
00000040: 2E 31 38 2E 31 30 32 00 64 61 74 61 00 00 00 00  .18.102.data....
00000050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
00000060: 00 00 00 00                                      ....

arduino_hexdump's People

Contributors

yveaux 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.