Task 3.3.1

Fork of Task331 by Nicholas Outram

main.cpp

Committer:
noutram
Date:
2019-09-18
Revision:
2:d6dfe854bb0a
Parent:
0:f2ac5564a731

File content as of revision 2:d6dfe854bb0a:

#include "mbed.h"

#ifdef TARGET_NUCLEO_F429ZI
//#define ONBOARD
#endif

#ifdef ONBOARD
BusOut binaryOutput(LED1, LED2, LED3);
#else
//lsb first
BusOut binaryOutput(D5, D6, D7);
#endif



int main() {

    //Try different values
    binaryOutput = 3;
    
    while (1) { }
}