23 lines
579 B
C++
23 lines
579 B
C++
/**
|
|
* Various useful utility functions for the Arduino
|
|
*********************************************************
|
|
* By Starbeamrainbowlabs <bugs@starbeamrainbowlabs.com> - https://starbeamrainbowlabs.com)
|
|
* Originally written for PixelHub - http://git.starbeamrainbowlabs.com/sbrl/PixelHub
|
|
*
|
|
* Thanks to Rob Miles for getting me into this :-)
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <stdlib.h>
|
|
|
|
int findChar(char* str, char targetChar);
|
|
|
|
int getPosition(const char *array, int size, char c);
|
|
|
|
class Utilities
|
|
{
|
|
public:
|
|
static void PrintCharsAsHex(char* charArray, size_t length);
|
|
};
|
|
|