eLab Team / Mbed 2 deprecated LaLaBox

Dependencies:   mbed CREALIB

main.cpp

Committer:
garphil
Date:
2017-04-11
Revision:
17:04c9b524dd94
Parent:
16:8ae70f0b8fca
Child:
20:cdbc31a89c7f

File content as of revision 17:04c9b524dd94:

/*
 *   Crealab Template
 *
 *  Version 2.0, March 12, 2017
 *  for Nucleo32: F303K8
 *   
 */
 
#include "Crealab.h"
Serial bt_uart(PA_9, PA_10);
Serial pc_uart(USBTX, USBRX);

/
// ---------------- PIN DEFINITIONS ---------------------
DigitalOut myled(LED1);     // Blinking LED
InterruptIn  buttonBox(PB_1);


/* Main Routine */
int main()
{
    myled = 1;      // To see something is alive
 
}