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.
Fork of g3_waterplay by
Procedure.cpp
00001 /* 00002 * G3: WATERPLAY 00003 */ 00004 00005 #include "Procedure.h" 00006 00007 Procedure::Procedure( 00008 Printer &printer 00009 ): 00010 _printer(printer) 00011 { 00012 } 00013 int Procedure::proceed() 00014 { 00015 int number_of_procedure = 5; 00016 char* procedures[] = { 00017 "Q1?", 00018 "Q2?", 00019 "Q3?", 00020 "Q4?", 00021 "Q5?", 00022 }; 00023 00024 for(int counter = 0; counter < number_of_procedure; ++counter){ 00025 _printer.toBoth(procedures[counter]); 00026 } 00027 00028 return(1); 00029 }
Generated on Tue Jul 12 2022 21:07:58 by
1.7.2
