The code from https://github.com/vpcola/Nucleo

Committer:
sinrab
Date:
Wed Oct 08 11:00:24 2014 +0000
Revision:
0:5464d5e415e5
The code from https://github.com/vpcola/Nucleo

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sinrab 0:5464d5e415e5 1 #ifndef __M_UTILITY_H__
sinrab 0:5464d5e415e5 2 #define __M_UTILITY_H__
sinrab 0:5464d5e415e5 3
sinrab 0:5464d5e415e5 4 #include "mbed.h"
sinrab 0:5464d5e415e5 5 #include <string>
sinrab 0:5464d5e415e5 6 #include <vector>
sinrab 0:5464d5e415e5 7
sinrab 0:5464d5e415e5 8 #define SHELL_SWITCH 0x80
sinrab 0:5464d5e415e5 9 #define CONN_LED 0x10
sinrab 0:5464d5e415e5 10
sinrab 0:5464d5e415e5 11 #define I2C_CTR_PANEL_ADDR ((0x21) << 1)
sinrab 0:5464d5e415e5 12
sinrab 0:5464d5e415e5 13 void heapinfo(Stream * chp);
sinrab 0:5464d5e415e5 14 char *_strtok(char *str, const char *delim, char **saveptr);
sinrab 0:5464d5e415e5 15 void split( vector<string> & theStringVector, /* Altered/returned value */
sinrab 0:5464d5e415e5 16 const string & theString,
sinrab 0:5464d5e415e5 17 const string & theDelimiter);
sinrab 0:5464d5e415e5 18
sinrab 0:5464d5e415e5 19 void set_ctrl_panel(int paneladdr, uint8_t value);
sinrab 0:5464d5e415e5 20
sinrab 0:5464d5e415e5 21
sinrab 0:5464d5e415e5 22 std::string trim(const std::string& str, const std::string& whitespace = " \t");
sinrab 0:5464d5e415e5 23 void capitalize_word_start(std::string & str);
sinrab 0:5464d5e415e5 24
sinrab 0:5464d5e415e5 25 #endif
sinrab 0:5464d5e415e5 26
sinrab 0:5464d5e415e5 27