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.
Fork of DISCO-L072CZ-LRWAN1_LoRa_PingPong 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 "B-L072Z-LRWAN1" 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
FATFileSystem/ChaN/integer.h@12:02d779e8c4f6, 2018-05-19 (annotated)
- Committer:
- wardm
- Date:
- Sat May 19 11:41:10 2018 +0000
- Revision:
- 12:02d779e8c4f6
Code for Technion Formula car sensors reader transmit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
wardm | 12:02d779e8c4f6 | 1 | /*-------------------------------------------*/ |
wardm | 12:02d779e8c4f6 | 2 | /* Integer type definitions for FatFs module */ |
wardm | 12:02d779e8c4f6 | 3 | /*-------------------------------------------*/ |
wardm | 12:02d779e8c4f6 | 4 | |
wardm | 12:02d779e8c4f6 | 5 | #ifndef _FF_INTEGER |
wardm | 12:02d779e8c4f6 | 6 | #define _FF_INTEGER |
wardm | 12:02d779e8c4f6 | 7 | |
wardm | 12:02d779e8c4f6 | 8 | #ifdef _WIN32 /* Development platform */ |
wardm | 12:02d779e8c4f6 | 9 | |
wardm | 12:02d779e8c4f6 | 10 | #include <windows.h> |
wardm | 12:02d779e8c4f6 | 11 | #include <tchar.h> |
wardm | 12:02d779e8c4f6 | 12 | |
wardm | 12:02d779e8c4f6 | 13 | #else /* Embedded platform */ |
wardm | 12:02d779e8c4f6 | 14 | |
wardm | 12:02d779e8c4f6 | 15 | /* This type MUST be 8-bit */ |
wardm | 12:02d779e8c4f6 | 16 | typedef unsigned char BYTE; |
wardm | 12:02d779e8c4f6 | 17 | |
wardm | 12:02d779e8c4f6 | 18 | /* These types MUST be 16-bit */ |
wardm | 12:02d779e8c4f6 | 19 | typedef short SHORT; |
wardm | 12:02d779e8c4f6 | 20 | typedef unsigned short WORD; |
wardm | 12:02d779e8c4f6 | 21 | typedef unsigned short WCHAR; |
wardm | 12:02d779e8c4f6 | 22 | |
wardm | 12:02d779e8c4f6 | 23 | /* These types MUST be 16-bit or 32-bit */ |
wardm | 12:02d779e8c4f6 | 24 | typedef int INT; |
wardm | 12:02d779e8c4f6 | 25 | typedef unsigned int UINT; |
wardm | 12:02d779e8c4f6 | 26 | |
wardm | 12:02d779e8c4f6 | 27 | /* These types MUST be 32-bit */ |
wardm | 12:02d779e8c4f6 | 28 | typedef long LONG; |
wardm | 12:02d779e8c4f6 | 29 | typedef unsigned long DWORD; |
wardm | 12:02d779e8c4f6 | 30 | |
wardm | 12:02d779e8c4f6 | 31 | #endif |
wardm | 12:02d779e8c4f6 | 32 | |
wardm | 12:02d779e8c4f6 | 33 | #endif |