![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Code for Technion Formula car sensors reader
Dependencies: mbed Buffer FATFileSystem
Fork of SX1272PingPong by
This is code is part of a Technion course project in advanced IoT, implementing a device to read and transmit sensors data from a Formula racing car built by students at Technion - Israel Institute of Technology.
How to install
- Create an account on Mbed: https://os.mbed.com/account/signup/
- Import project into Compiler
- In the Program Workspace select "Formula_Nucleo_Reader"
- Select a Platform like so:
- Click button at top-left
- Add Board
- Search "NUCLEO F103RB" and then "Add to your Mbed Compiler"
- Finally click "Compile", if the build was successful, the binary would download automatically
- To install it on device simply plug it in to a PC, open device drive and drag then drop binary file in it
SDFileSystem/SDCRC.h@15:2e0d977dbb31, 2018-05-17 (annotated)
- Committer:
- wardm
- Date:
- Thu May 17 20:37:41 2018 +0000
- Revision:
- 15:2e0d977dbb31
V1.0.0
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
wardm | 15:2e0d977dbb31 | 1 | /* SD/MMC File System Library |
wardm | 15:2e0d977dbb31 | 2 | * Copyright (c) 2016 Neil Thiessen |
wardm | 15:2e0d977dbb31 | 3 | * |
wardm | 15:2e0d977dbb31 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
wardm | 15:2e0d977dbb31 | 5 | * you may not use this file except in compliance with the License. |
wardm | 15:2e0d977dbb31 | 6 | * You may obtain a copy of the License at |
wardm | 15:2e0d977dbb31 | 7 | * |
wardm | 15:2e0d977dbb31 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
wardm | 15:2e0d977dbb31 | 9 | * |
wardm | 15:2e0d977dbb31 | 10 | * Unless required by applicable law or agreed to in writing, software |
wardm | 15:2e0d977dbb31 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
wardm | 15:2e0d977dbb31 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
wardm | 15:2e0d977dbb31 | 13 | * See the License for the specific language governing permissions and |
wardm | 15:2e0d977dbb31 | 14 | * limitations under the License. |
wardm | 15:2e0d977dbb31 | 15 | */ |
wardm | 15:2e0d977dbb31 | 16 | |
wardm | 15:2e0d977dbb31 | 17 | #ifndef SD_CRC_H |
wardm | 15:2e0d977dbb31 | 18 | #define SD_CRC_H |
wardm | 15:2e0d977dbb31 | 19 | |
wardm | 15:2e0d977dbb31 | 20 | #include "mbed.h" |
wardm | 15:2e0d977dbb31 | 21 | |
wardm | 15:2e0d977dbb31 | 22 | namespace SDCRC |
wardm | 15:2e0d977dbb31 | 23 | { |
wardm | 15:2e0d977dbb31 | 24 | |
wardm | 15:2e0d977dbb31 | 25 | char crc7(const char* data, int length); |
wardm | 15:2e0d977dbb31 | 26 | unsigned short crc16(const char* data, int length); |
wardm | 15:2e0d977dbb31 | 27 | |
wardm | 15:2e0d977dbb31 | 28 | } |
wardm | 15:2e0d977dbb31 | 29 | |
wardm | 15:2e0d977dbb31 | 30 | #endif |