Matti Borchers / Mbed 2 deprecated mbed_amf_controlsystem_iO_copy

Dependencies:   mbed-rtos mbed

Fork of mbed_amf_controlsystem_iO_copy by Oliver Wenzel

main.cpp

Committer:
mborchers
Date:
2016-02-08
Revision:
18:0e8ad413a840
Parent:
17:76636aaf80de

File content as of revision 18:0e8ad413a840:

#include <mbed.h>
#include "rtos.h"
#include "Periphery/SupportSystem.h"
I2C i2c(p9, p10);

void hearbeat_thread(void const *args);



int main() {
    SupportSystem *supportSystem = new SupportSystem(0x80, &i2c);


    supportSystem->setLightManagerRemoteLight(true, false);
    supportSystem->setLightManagerBrakeLight(true, false);
    supportSystem->setLightManagerSignalBoth(true, true);
    while(true) {


    }
}