Skip to content

Commit

Permalink
made the how to use even better!
Browse files Browse the repository at this point in the history
  • Loading branch information
mzndr committed Jul 4, 2018
1 parent fd402dd commit 4a5e19e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions arrayToBMP.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@
*
***************************************************************/

/* ======================== HOW TO USE =======================*/
/*
/* ======================== HOW TO USE =======================*
*
* Copy and paste arrayToBmp.hpp into your project, and include it with #include "arrayToBmp.hpp".
* Then use the arrayToBMP function to write your BMP! Easy as that. If you have trouble converting integers to
* RGB24 values, use the getColor function, which returns an rgb24_t value, with given R, G and B values.
* Then use the arrayToBMP function to write your BMP! Easy as that. The Color values are basicly integers,
* just like HTML rgb values. E.g.: 0xFFFFFF for white, or 0xFF0000 for red.
* If you have trouble converting integers to RGB24 values, use the getColor function, which returns an rgb24_t value,
* with given R, G and B values.
*
*/
* ============================================================/
/* typedefs */
typedef unsigned char byte_t;
Expand Down

0 comments on commit 4a5e19e

Please sign in to comment.