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: MPU9250_SPI
Fork of WearableDevice_Nucleo by
event.cpp@8:ba93a973f967, 2017-10-12 (annotated)
- Committer:
- gusteibolt
- Date:
- Thu Oct 12 19:00:33 2017 +0000
- Revision:
- 8:ba93a973f967
- Parent:
- 7:ebaaff27840b
- Child:
- 10:577e1fc4453e
Half-fixed events
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
gusteibolt | 6:939df52d75c9 | 1 | /* |
gusteibolt | 6:939df52d75c9 | 2 | * Los Putacos |
gusteibolt | 6:939df52d75c9 | 3 | * Copyright (C) 2017, All rights reserved. |
gusteibolt | 6:939df52d75c9 | 4 | * ________________________________________ |
gusteibolt | 6:939df52d75c9 | 5 | * |
gusteibolt | 6:939df52d75c9 | 6 | * Created by: Gustavo Campana, Michael Schmidt, Miguel Lopez |
gusteibolt | 6:939df52d75c9 | 7 | * Date: 12-Oct-2017 |
gusteibolt | 6:939df52d75c9 | 8 | * Version: V0.1 |
gusteibolt | 8:ba93a973f967 | 9 | *//* |
gusteibolt | 7:ebaaff27840b | 10 | #include "mbed.h" |
gusteibolt | 8:ba93a973f967 | 11 | #include "event.h" |
gusteibolt | 7:ebaaff27840b | 12 | |
gusteibolt | 7:ebaaff27840b | 13 | void print_stinrg(char c = '*') { |
gusteibolt | 7:ebaaff27840b | 14 | pc.putc(c); |
gusteibolt | 7:ebaaff27840b | 15 | } |
gusteibolt | 7:ebaaff27840b | 16 | |
gusteibolt | 7:ebaaff27840b | 17 | void print_event(void const *argv) { |
gusteibolt | 7:ebaaff27840b | 18 | pc.printf((const char*)argv); |
gusteibolt | 7:ebaaff27840b | 19 | } |
gusteibolt | 7:ebaaff27840b | 20 | |
gusteibolt | 7:ebaaff27840b | 21 | void blink_event(DigitalOut pin){ |
gusteibolt | 7:ebaaff27840b | 22 | pin = 1; |
gusteibolt | 8:ba93a973f967 | 23 | }*/ |