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 SDFileSystem XBeeLib
event.cpp
- Committer:
- gusteibolt
- Date:
- 2017-10-17
- Revision:
- 12:c88478dfc622
- Parent:
- 10:577e1fc4453e
- Child:
- 18:7f9c2b8541e1
File content as of revision 12:c88478dfc622:
/* * Los Putacos * Copyright (C) 2017, All rights reserved. * ________________________________________ * * Created by: Gustavo Campana, Michael Schmidt, Miguel Lopez * Date: 12-Oct-2017 * Version: V0.1 */ #include "mbed.h" #include "event.h" /* void print_stinrg(char c = '*') { pc.putc(c); } */ /* void print_event(void const *argv, int i) { pc.printf("%d ",i); pc.printf((const char*)argv); pc.printf("\r\n"); } */ /* void blink_event(DigitalOut pin){ pin = 1; */ void readIMU(){ //imu.resetMPU9250(); pc.printf("%d\r\r ",time_stamp.read()); } void gayEvent(){ pc.printf("Is Michi schwul? (1 - true, 0 - false): "); pc.printf("%d", 1); pc.printf("\r\n"); }