Amundson OCE 360 homework 7 SD card library

Dependencies:   FATFileSystem

Fork of SDFileSystem by Neil Thiessen

Committer:
bamundson
Date:
Sat Nov 03 19:11:15 2018 +0000
Revision:
27:70654d2bcff8
Parent:
22:3fa5eaf48e81
Amundson OCE 360 Homework 7, collect temperature and time data to be written and stored to an SD card. Controlled by switch input.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
neilt6 18:2286a4e7fa31 1 /* SD/MMC File System Library
neilt6 22:3fa5eaf48e81 2 * Copyright (c) 2016 Neil Thiessen
neilt6 18:2286a4e7fa31 3 *
neilt6 18:2286a4e7fa31 4 * Licensed under the Apache License, Version 2.0 (the "License");
neilt6 18:2286a4e7fa31 5 * you may not use this file except in compliance with the License.
neilt6 18:2286a4e7fa31 6 * You may obtain a copy of the License at
neilt6 18:2286a4e7fa31 7 *
neilt6 18:2286a4e7fa31 8 * http://www.apache.org/licenses/LICENSE-2.0
neilt6 18:2286a4e7fa31 9 *
neilt6 18:2286a4e7fa31 10 * Unless required by applicable law or agreed to in writing, software
neilt6 18:2286a4e7fa31 11 * distributed under the License is distributed on an "AS IS" BASIS,
neilt6 18:2286a4e7fa31 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
neilt6 18:2286a4e7fa31 13 * See the License for the specific language governing permissions and
neilt6 18:2286a4e7fa31 14 * limitations under the License.
neilt6 18:2286a4e7fa31 15 */
neilt6 18:2286a4e7fa31 16
neilt6 18:2286a4e7fa31 17 #ifndef SD_CRC_H
neilt6 18:2286a4e7fa31 18 #define SD_CRC_H
neilt6 18:2286a4e7fa31 19
neilt6 18:2286a4e7fa31 20 #include "mbed.h"
neilt6 18:2286a4e7fa31 21
neilt6 18:2286a4e7fa31 22 namespace SDCRC
neilt6 18:2286a4e7fa31 23 {
neilt6 18:2286a4e7fa31 24
neilt6 18:2286a4e7fa31 25 char crc7(const char* data, int length);
neilt6 18:2286a4e7fa31 26 unsigned short crc16(const char* data, int length);
neilt6 18:2286a4e7fa31 27
neilt6 18:2286a4e7fa31 28 }
neilt6 18:2286a4e7fa31 29
neilt6 18:2286a4e7fa31 30 #endif