Barometer program : Data Logger function includes Barometer & temperature (BMP180), Humidity & temp. (RHT03), Sunshine (Cds), RTC(M41T62) data. : Logging data saves into EEPROM (AT24C1024) using ring buffer function.
Dependencies: AT24C1024 RHT03 TextLCD BMP180 M41T62
Fork of mbed_blinky by
Please see https://mbed.org/users/kenjiArai/notebook/mbed-lpc1114fn28-barometer-with-data-logging/#
redirect_stdio/redirect_stdio.cpp@18:b3a27f681171, 2020-08-08 (annotated)
- Committer:
- kenjiArai
- Date:
- Sat Aug 08 07:01:19 2020 +0000
- Revision:
- 18:b3a27f681171
change to mbed-os-6.2.0 but not work this revision
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
kenjiArai | 18:b3a27f681171 | 1 | /* |
kenjiArai | 18:b3a27f681171 | 2 | * mbed Application program |
kenjiArai | 18:b3a27f681171 | 3 | * Redirect Standard Input/Output |
kenjiArai | 18:b3a27f681171 | 4 | * |
kenjiArai | 18:b3a27f681171 | 5 | * Copyright (c) 2020 Kenji Arai / JH1PJL |
kenjiArai | 18:b3a27f681171 | 6 | * http://www7b.biglobe.ne.jp/~kenjia/ |
kenjiArai | 18:b3a27f681171 | 7 | * https://os.mbed.com/users/kenjiArai/ |
kenjiArai | 18:b3a27f681171 | 8 | * Created: August 7th, 2020 |
kenjiArai | 18:b3a27f681171 | 9 | * Revised: August 7th, 2020 |
kenjiArai | 18:b3a27f681171 | 10 | */ |
kenjiArai | 18:b3a27f681171 | 11 | |
kenjiArai | 18:b3a27f681171 | 12 | #include "mbed.h" |
kenjiArai | 18:b3a27f681171 | 13 | |
kenjiArai | 18:b3a27f681171 | 14 | // Create a BufferedSerial object to be used by the system I/O retarget code |
kenjiArai | 18:b3a27f681171 | 15 | BufferedSerial pc(USBTX, USBRX, 9600); |
kenjiArai | 18:b3a27f681171 | 16 | |
kenjiArai | 18:b3a27f681171 | 17 | // the system I/O retarget |
kenjiArai | 18:b3a27f681171 | 18 | FileHandle *mbed::mbed_override_console(int fd) |
kenjiArai | 18:b3a27f681171 | 19 | { |
kenjiArai | 18:b3a27f681171 | 20 | return &pc; |
kenjiArai | 18:b3a27f681171 | 21 | } |