Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: SDFileSystem mbed
Fork of PES4_Programme by
header/sdcard.h@58:cda5298c9b7f, 2018-04-05 (annotated)
- Committer:
- cittecla
- Date:
- Thu Apr 05 09:53:43 2018 +0000
- Revision:
- 58:cda5298c9b7f
- Parent:
- 53:1c61cadbcb35
- Child:
- 64:ca667234c845
added writeMedication (to SD card) in sdcard.cpp
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
cittecla | 51:a98ffbd41e76 | 1 | #pragma once |
cittecla | 51:a98ffbd41e76 | 2 | #include "SDFileSystem.h" |
cittecla | 51:a98ffbd41e76 | 3 | #include "mbed.h" |
cittecla | 53:1c61cadbcb35 | 4 | #include "variables.h" |
cittecla | 51:a98ffbd41e76 | 5 | |
cittecla | 53:1c61cadbcb35 | 6 | #define STR_LEN 32 |
cittecla | 53:1c61cadbcb35 | 7 | #define TOKEN ";" |
cittecla | 51:a98ffbd41e76 | 8 | |
cittecla | 51:a98ffbd41e76 | 9 | void writeTest(); |
cittecla | 51:a98ffbd41e76 | 10 | void readTest(); |
cittecla | 51:a98ffbd41e76 | 11 | void testSd(); |
cittecla | 53:1c61cadbcb35 | 12 | s_user readMedication(int user); |
cittecla | 58:cda5298c9b7f | 13 | int writeMedication(int user, s_user userfile); |
cittecla | 51:a98ffbd41e76 | 14 |