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.
Test.cpp
- Committer:
- thomasvb02
- Date:
- 2020-02-04
- Revision:
- 0:41beaa66228b
- Child:
- 1:fe268cc6317a
File content as of revision 0:41beaa66228b:
#include "mbed.h"
PwmOut Motor1 (A5);
PwmOut Motor2 (A3);
InteruptIn Sensor1 (A0,PullDown);
InteruptIn Sensor2 (A1,PullDown);
InteruptIn Sensor3 (A2,PullDown);
InteruptIn Sensor4 (A6,PullDown);
AnalogOut OVER (A4);
DigitalOut LED (D8);
DigitalOut Motor1Voor (D12);
DigitalOut Motor1Achter (D11);
DigitalOut Motor2Voor (D10);
DigitalOut Motor2Achter (D9);
void Kijk()
{
if (Sensor1 = 0.5) {
Motor
int main()
while(1) {