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.
Diff: main.cpp
- Revision:
- 0:e9239870dd85
- Child:
- 1:2912bfdcb851
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Fri Dec 18 08:17:06 2015 +0000
@@ -0,0 +1,17 @@
+Queue<int, 5> brugqueue;
+#include "mbed.h"
+#include "rtos.h"
+#include "Stoplicht.cpp"
+#include "Brug.h"
+
+
+
+int main() {
+ Brug brug(10, &brugqueue);
+ while(1){
+ brugqueue.put((int*)1);
+ wait(1);
+ brugqueue.put((int*)2);
+ wait(2);
+ };
+}
\ No newline at end of file