<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Sequencial Actions</title>
		<link>http://aseba.wikidot.com/forum/t-1188088/sequencial-actions</link>
		<description>Posts in the discussion thread &quot;Sequencial Actions&quot; - Being able to program actions in sequence</description>
				<copyright></copyright>
		<lastBuildDate>Tue, 14 Jul 2026 22:45:57 +0000</lastBuildDate>
		
					<item>
				<guid>http://aseba.wikidot.com/forum/t-1188088#post-2288828</guid>
				<title>Re: Sequencial Actions</title>
				<link>http://aseba.wikidot.com/forum/t-1188088/sequencial-actions#post-2288828</link>
				<description></description>
				<pubDate>Fri, 08 May 2015 17:00:16 +0000</pubDate>
				<wikidot:authorName>mkany</wikidot:authorName>				<wikidot:authorUserId>1783279</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hello,</p> <p>you can do that with a little state machine and timer Event handler. maybe not easier, but more understandable code.</p> <p>var state = 0</p> <p>timer.period[0] = 100</p> <p>onevent button.forward<br /> state = 1</p> <p>onevent timer0<br /> if state == 1 then<br /> # Thymio drives forward with a target speed of 200 for 1 second<br /> # insert your code here<br /> state = 2<br /> end<br /> if state == 2 then<br /> # Thymio turns 90 degrees<br /> # insert your code here<br /> state = 3<br /> end<br /> if state == 3 then<br /> # Thymio drives forward with a target speed of 300 for 2 second while Led on top is green<br /> # insert your code here<br /> state = 4<br /> end<br /> if state == 4 then<br /> # Thymio turns left for 1 second while playing a sound<br /> # insert your code here<br /> # Thymio stop<br /> end</p> <p>regards<br /> Michael Kany</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://aseba.wikidot.com/forum/t-1188088#post-2286354</guid>
				<title>Sequencial Actions</title>
				<link>http://aseba.wikidot.com/forum/t-1188088/sequencial-actions#post-2286354</link>
				<description></description>
				<pubDate>Tue, 05 May 2015 18:14:15 +0000</pubDate>
				<wikidot:authorName>TechyKidsDOTcom</wikidot:authorName>				<wikidot:authorUserId>1461133</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I know how to use iterations to do this, but is there an easier way?</p> <p>Would there be a reasonable way to get Thymio to do the following using code?</p> <p>Thymio drives forward with a target speed of 200 for 1 second<br /> Then..<br /> Thymio turns 90 degrees<br /> Then<br /> Thymio drives forward with a target speed of 300 for 2 second while Led on top is green<br /> Then<br /> Thymio turns left for 1 second while playing a sound</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>