![](/media/cache/profiles/avatar_uWKoV5n.jpg.50x50_q85.jpg)
This demo reads a bitmap from a FAT formatted SD-card, copies it to flash and displays it on the screen. The demo is based on the following project: https://os.mbed.com/users/DieterGraef/code/DISCO-F746NG_SDFileSystem/
Dependencies: LCD_DISCO_F746NG TS_DISCO_F746NG mbed FATFileSystem
Fork of DISCO-F746NG_SDFileSystem by
SDFileSystem/SDCRC.h@4:95e30a911d97, 2018-04-19 (annotated)
- Committer:
- Lightsource
- Date:
- Thu Apr 19 19:59:54 2018 +0000
- Revision:
- 4:95e30a911d97
Demo that reads a bitmap from SD-card, copies it to flash and displays it on the screen.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Lightsource | 4:95e30a911d97 | 1 | /* SD/MMC File System Library |
Lightsource | 4:95e30a911d97 | 2 | * Copyright (c) 2016 Neil Thiessen |
Lightsource | 4:95e30a911d97 | 3 | * |
Lightsource | 4:95e30a911d97 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
Lightsource | 4:95e30a911d97 | 5 | * you may not use this file except in compliance with the License. |
Lightsource | 4:95e30a911d97 | 6 | * You may obtain a copy of the License at |
Lightsource | 4:95e30a911d97 | 7 | * |
Lightsource | 4:95e30a911d97 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
Lightsource | 4:95e30a911d97 | 9 | * |
Lightsource | 4:95e30a911d97 | 10 | * Unless required by applicable law or agreed to in writing, software |
Lightsource | 4:95e30a911d97 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
Lightsource | 4:95e30a911d97 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
Lightsource | 4:95e30a911d97 | 13 | * See the License for the specific language governing permissions and |
Lightsource | 4:95e30a911d97 | 14 | * limitations under the License. |
Lightsource | 4:95e30a911d97 | 15 | */ |
Lightsource | 4:95e30a911d97 | 16 | |
Lightsource | 4:95e30a911d97 | 17 | #ifndef SD_CRC_H |
Lightsource | 4:95e30a911d97 | 18 | #define SD_CRC_H |
Lightsource | 4:95e30a911d97 | 19 | |
Lightsource | 4:95e30a911d97 | 20 | #include "mbed.h" |
Lightsource | 4:95e30a911d97 | 21 | |
Lightsource | 4:95e30a911d97 | 22 | namespace SDCRC |
Lightsource | 4:95e30a911d97 | 23 | { |
Lightsource | 4:95e30a911d97 | 24 | |
Lightsource | 4:95e30a911d97 | 25 | char crc7(const char* data, int length); |
Lightsource | 4:95e30a911d97 | 26 | unsigned short crc16(const char* data, int length); |
Lightsource | 4:95e30a911d97 | 27 | |
Lightsource | 4:95e30a911d97 | 28 | } |
Lightsource | 4:95e30a911d97 | 29 | |
Lightsource | 4:95e30a911d97 | 30 | #endif |