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.
Revision 2:2acbc2d1a208, committed 2010-10-13
- Comitter:
- shintamainjp
- Date:
- Wed Oct 13 10:47:41 2010 +0000
- Parent:
- 1:adcec9a96e89
- Commit message:
- First version.
Changed in this revision
--- a/ChoroQ.lib Mon Sep 20 00:06:36 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://mbed.org/users/shintamainjp/code/ChoroQ/#97921a2adf78
--- a/main.cpp Mon Sep 20 00:06:36 2010 +0000
+++ b/main.cpp Wed Oct 13 10:47:41 2010 +0000
@@ -13,12 +13,14 @@
* Entry point.
*/
int main() {
+ ChoroQ::Channel ch = ChoroQ::ChA;
+
while (1) {
/*
* get forward.
*/
for (int i = 0; i < 10; i++) {
- cq.execute(ChoroQ::ChA, ChoroQ::Up);
+ cq.execute(ch, ChoroQ::Up);
}
wait_ms(2000);
@@ -26,7 +28,7 @@
* go astern.
*/
for (int i = 0; i < 10; i++) {
- cq.execute(ChoroQ::ChA, ChoroQ::Down);
+ cq.execute(ch, ChoroQ::Down);
}
wait_ms(2000);
}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mylib/ChoroQ.lib Wed Oct 13 10:47:41 2010 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/shintamainjp/code/ChoroQ/#97921a2adf78