pwm period is now 200us instead of the default 20ms veml6040 config is now AF_BIT | TRIG_BIT
Dependencies: mbed MMA8451Q USBDevice WakeUp vt100
Fork of afero_node_suntory_2017_06_15 by
util/CheckSum.h
- Committer:
- wataloh
- Date:
- 2017-06-09
- Revision:
- 21:d03c7bbb9f37
- Parent:
- 2:dfe671e31221
File content as of revision 21:d03c7bbb9f37:
#ifndef _CHECK_SUM_H_ #define _CHECK_SUM_H_ #include "mbed.h" #include "Preferences.hpp" class CheckSum { static uint32_t *table; uint32_t checkSum; void reset_table(); public: void reset(); CheckSum(); /* typedef union { uint8_t uint8array[4]; uint32_t uint32; } CheckSumCRC32;*/ void calc(uint8_t *buf, size_t len); // CheckSumCRC32 get(); PREFERENCES::_crc32 get(); }; #endif //_CHECK_SUM_H_