Following the line

Dependencies:   mbed

Fork of BERTL14_LINESENSOR by Wolfgang Raimann

main.cpp

Committer:
bulme_rai
Date:
2014-05-20
Revision:
0:acfdc7c80165
Child:
1:738be9ff3851

File content as of revision 0:acfdc7c80165:

/***********************************
name:   BERTL14_LINESENSOR
author: Wolfgang Raimann
email:  rai@bulme.at
description:
    Die vier Sensoren auf der Unterseite werden auf die LEDs D10-D13 durchgeschaltet
***********************************/

#include "mbed.h"

DigitalOut myled(LED1);


BusIn linesensor(p18, p16, p19, p17);

BusOut leds(LED1, LED2, LED3, LED4);


int main() {
    while(1) {
        leds = linesensor;
    }
}