<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8288861977151022624</id><updated>2024-11-01T03:34:35.470-07:00</updated><category term="Debounce circuit"/><title type='text'>PA0AKV QRP radio amateur</title><subtitle type='html'>Dutch low power radio station</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://pa0akv.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://pa0akv.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>André Koopman</name><uri>http://www.blogger.com/profile/10516334299819036808</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>27</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8288861977151022624.post-3598106834903890934</id><published>2012-03-17T12:18:00.000-07:00</published><updated>2012-03-17T12:18:33.995-07:00</updated><title type='text'>3D printer bouwen vervolg</title><content type='html'>Het verder uitboren heeft wel geholpen. Maar ik heb nog steeds het idee dat er veel kracht nodig is om het plastic in de extruder te drukken.Ik hoop dat volgende week de plastic delen aankomen (besteld en volgens de printer heeft hij zondag tijd.....)&lt;br /&gt;
Dan kan ik kijken of de stappenmotor sterk genog is anders moet ik kijken wat er verder nog veranderd moet worden.&lt;br /&gt;
&lt;br /&gt;
Heb nu transparant-zwart en geel uitgeprobeerd.</content><link rel='replies' type='application/atom+xml' href='http://pa0akv.blogspot.com/feeds/3598106834903890934/comments/default' title='Reacties posten'/><link rel='replies' type='text/html' href='http://pa0akv.blogspot.com/2012/03/3d-printer-bouwen-vervolg.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/3598106834903890934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/3598106834903890934'/><link rel='alternate' type='text/html' href='http://pa0akv.blogspot.com/2012/03/3d-printer-bouwen-vervolg.html' title='3D printer bouwen vervolg'/><author><name>André Koopman</name><uri>http://www.blogger.com/profile/10516334299819036808</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288861977151022624.post-382948559806824299</id><published>2012-03-16T08:56:00.001-07:00</published><updated>2012-03-16T09:03:11.147-07:00</updated><title type='text'>3d printer vervolg</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaz_mXawnCewzQiNGb3dE_abNON3imBqNthSmKNL2tCz2ABE-b9TyyEG7SpcFEVWQHvSjvZFVdMpiJeVkW0WObmxoVRtld0ArkA4dRFJPeB7jt-fl6fCFeJeWcwjaUBxErkdW5OgzC9CI/s1600/IMG_20120316_165752.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; width=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaz_mXawnCewzQiNGb3dE_abNON3imBqNthSmKNL2tCz2ABE-b9TyyEG7SpcFEVWQHvSjvZFVdMpiJeVkW0WObmxoVRtld0ArkA4dRFJPeB7jt-fl6fCFeJeWcwjaUBxErkdW5OgzC9CI/s320/IMG_20120316_165752.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvCWRh-fMBUx3RmLdZMgf81O7gzh6J9Sxzdm_HBMuR92A_wxmo1hbmbRYd2pgrBbhPktlXqPp0i6j6dGRhpMQd4LlJISmieckxfX6VAwA9ZugC6NA6b1x1EA7TVKnXcpJn9jAEbXDlK3E/s1600/IMG_20120316_165812.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; width=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvCWRh-fMBUx3RmLdZMgf81O7gzh6J9Sxzdm_HBMuR92A_wxmo1hbmbRYd2pgrBbhPktlXqPp0i6j6dGRhpMQd4LlJISmieckxfX6VAwA9ZugC6NA6b1x1EA7TVKnXcpJn9jAEbXDlK3E/s320/IMG_20120316_165812.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
het eerste resultaat met de hotend lijkt ok. een mooie gelijkmatige string van 0,4 mm plastic.Dit met zowel transparant alsmede zwart.&lt;br /&gt;
&lt;br /&gt;
Ik heb de temperatuur nog niet exakt gemeten maar het komt in de buurt van de 240 graden celcius.&lt;br /&gt;
Het valt wel op dat er veel kracht nodig is om het materiaal door de extruder te krijgen. Ik denk dat het 3,5 mm deel niet ver genoeg doorloopt. Het materiaal moet nu door een te lang 0,4 mm kanaal heen.&lt;br /&gt;
&lt;br /&gt;
Vanavond zal ik voorzichtig het 3,5 mm kanaal verder doorboren met het risico dat ik te verboor en het extruder pijpje opnieuw moet maken......</content><link rel='replies' type='application/atom+xml' href='http://pa0akv.blogspot.com/feeds/382948559806824299/comments/default' title='Reacties posten'/><link rel='replies' type='text/html' href='http://pa0akv.blogspot.com/2012/03/3d-printer-vervolg.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/382948559806824299'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/382948559806824299'/><link rel='alternate' type='text/html' href='http://pa0akv.blogspot.com/2012/03/3d-printer-vervolg.html' title='3d printer vervolg'/><author><name>André Koopman</name><uri>http://www.blogger.com/profile/10516334299819036808</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaz_mXawnCewzQiNGb3dE_abNON3imBqNthSmKNL2tCz2ABE-b9TyyEG7SpcFEVWQHvSjvZFVdMpiJeVkW0WObmxoVRtld0ArkA4dRFJPeB7jt-fl6fCFeJeWcwjaUBxErkdW5OgzC9CI/s72-c/IMG_20120316_165752.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288861977151022624.post-3984921911854496638</id><published>2012-03-10T11:27:00.001-08:00</published><updated>2012-03-10T11:28:25.675-08:00</updated><title type='text'>3D printer bouwen</title><content type='html'>Vandaag begint ik met de bouw van een 3D printer de Mendel Prusa.&lt;br /&gt;
&lt;br /&gt;
Plastic delen zijn besteld in &amp;nbsp;nederland. De glijlagers zijn binnen.China&lt;br /&gt;
&lt;br /&gt;
Kan nu eerst de hotend maken .</content><link rel='replies' type='application/atom+xml' href='http://pa0akv.blogspot.com/feeds/3984921911854496638/comments/default' title='Reacties posten'/><link rel='replies' type='text/html' href='http://pa0akv.blogspot.com/2012/03/3d-printer-bouwen.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/3984921911854496638'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/3984921911854496638'/><link rel='alternate' type='text/html' href='http://pa0akv.blogspot.com/2012/03/3d-printer-bouwen.html' title='3D printer bouwen'/><author><name>André Koopman</name><uri>http://www.blogger.com/profile/10516334299819036808</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288861977151022624.post-7591556030485552789</id><published>2011-04-11T22:59:00.000-07:00</published><updated>2011-04-11T22:59:50.272-07:00</updated><title type='text'>ICOM 746 PRO CI-V interface aangesloten.</title><content type='html'>Last night , I managed to connect the CI-V interface to a digi box. This Little wonder was more than a year unused but I think it will be used the next period. Main task wil be the connection between Ham Radio de Luxe (logbook and Mapper).&lt;br /&gt;
&lt;br /&gt;
I also have plans to do more with CW.!</content><link rel='replies' type='application/atom+xml' href='http://pa0akv.blogspot.com/feeds/7591556030485552789/comments/default' title='Reacties posten'/><link rel='replies' type='text/html' href='http://pa0akv.blogspot.com/2011/04/icom-746-pro-ci-v-interface-aangesloten.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/7591556030485552789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/7591556030485552789'/><link rel='alternate' type='text/html' href='http://pa0akv.blogspot.com/2011/04/icom-746-pro-ci-v-interface-aangesloten.html' title='ICOM 746 PRO CI-V interface aangesloten.'/><author><name>André Koopman</name><uri>http://www.blogger.com/profile/10516334299819036808</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288861977151022624.post-9066455478472013737</id><published>2011-04-08T11:53:00.000-07:00</published><updated>2011-04-08T11:53:38.692-07:00</updated><title type='text'>New ICOM 746PRO !</title><content type='html'>Ok not new but it looks brand new.... Yesterday I bought a ICOM 746PRO . A lot of information on the web about broken display/backlight and problems with the PA driver but with a very good value for money ratio !&lt;br /&gt;
&lt;br /&gt;
So I decided to give it a change. First impressions are very fine. Nice sound not to complicated to operate but time will see....&lt;br /&gt;
&lt;br /&gt;
At the moment not a power supply wich can load 25A ( just 15A) .&lt;br /&gt;
50Watt output in use now.&lt;br /&gt;
&lt;br /&gt;
Next step is building a computer interface.</content><link rel='replies' type='application/atom+xml' href='http://pa0akv.blogspot.com/feeds/9066455478472013737/comments/default' title='Reacties posten'/><link rel='replies' type='text/html' href='http://pa0akv.blogspot.com/2011/04/new-icom-746pro.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/9066455478472013737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/9066455478472013737'/><link rel='alternate' type='text/html' href='http://pa0akv.blogspot.com/2011/04/new-icom-746pro.html' title='New ICOM 746PRO !'/><author><name>André Koopman</name><uri>http://www.blogger.com/profile/10516334299819036808</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288861977151022624.post-8911987318140155499</id><published>2011-03-23T13:01:00.000-07:00</published><updated>2011-03-23T13:01:24.923-07:00</updated><title type='text'>Back to the radio again!</title><content type='html'>After playing a few months with the Arduino I think it is time to put power on the K2.&lt;br /&gt;
&lt;br /&gt;
The 20m dipole was in a very bad condition and a replacement seems the only way to get on the air!&lt;br /&gt;
Last saterday the weather was fine so new wires and a balun where fitted to the pole.&lt;br /&gt;
&lt;br /&gt;
Lates version of Radio Ham de Luxe installed on the XP laptop and the first SSTV contact was made.&lt;br /&gt;
&lt;br /&gt;
So it seems 20m is working again !&lt;br /&gt;
&lt;br /&gt;
Antenne direction is now east, most stations heard are in the south east of europe. Next step is to build a fowlded dipole on the south west part of the roof to get usa signals if possible.&lt;br /&gt;
&lt;br /&gt;
For summer holiday with the camper I was thinking about a screwdriver antenne, and decided to make one myself. In this blog I will give a day to day progression report !&lt;br /&gt;
&lt;br /&gt;
73 André</content><link rel='replies' type='application/atom+xml' href='http://pa0akv.blogspot.com/feeds/8911987318140155499/comments/default' title='Reacties posten'/><link rel='replies' type='text/html' href='http://pa0akv.blogspot.com/2011/03/back-to-radio-again.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/8911987318140155499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/8911987318140155499'/><link rel='alternate' type='text/html' href='http://pa0akv.blogspot.com/2011/03/back-to-radio-again.html' title='Back to the radio again!'/><author><name>André Koopman</name><uri>http://www.blogger.com/profile/10516334299819036808</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288861977151022624.post-1691727281137972638</id><published>2010-12-11T10:39:00.000-08:00</published><updated>2010-12-12T11:03:53.659-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Debounce circuit"/><title type='text'>HamKlok One nieuwe tussenstop</title><content type='html'>Ok, weer een beetje verder gekomen met de klok. Nu werkt echt alles op hardware gebied en het display laat de juiste tijd zien. Ook het gelijk zetten van tijd en datum gaat nu soepel.&lt;br /&gt;
&lt;br /&gt;
Het was nog wel een hele toer om de schakelaars goed aan de praat te krijgen.&lt;br /&gt;
Vooral bij de interrupt gaf dit zoveel problemen om het debounce effect weg te krijgen dat ik toch voor een hardware matige oplossing heb gekozen.&lt;br /&gt;
&lt;br /&gt;
Gelukkig had ik nog een aantal 74HC14 in de kast liggen. Dit zijn inverters(4) met een Smitt trigger ingang.&lt;br /&gt;
Een weerstand van 10K naar de plus en een condensator van 100nF naar de ground en de schakelaar tegen ground laten schakelen gaf het gewenste effect.&lt;br /&gt;
&lt;br /&gt;
De digitale ingang van het Arduino bordje verbonden met de Smitt trigger uitgangen en de klus is geklaard.&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: left; margin-right: 1em; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqIMHjlQvilYymqKPFflNyxVKALK_TXHP7Q4bTsGu7KM36xVZvxACsgInVRnE3nN9qnUVZkZURC6BgY02Ug2h0kBbapt-8J0QiVI5ZWw0pKmQxs2q5XD9oS6wQ7wr2mSiRY9XzTcBeZ7o/s1600/Smitt+trigger.GIF&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqIMHjlQvilYymqKPFflNyxVKALK_TXHP7Q4bTsGu7KM36xVZvxACsgInVRnE3nN9qnUVZkZURC6BgY02Ug2h0kBbapt-8J0QiVI5ZWw0pKmQxs2q5XD9oS6wQ7wr2mSiRY9XzTcBeZ7o/s1600/Smitt+trigger.GIF&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Debounce circuit.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;De nu volgende stap is de lichtkrant uitbreiden (maanden in tekst !)&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Graag hoor ik wat jullie er van vinden !&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;img src=&quot;http://i4.ytimg.com/vi/7H9JPGrJUTo/1.jpg&quot; /&gt;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;druk op deze link&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.youtube.com/watch?v=7H9JPGrJUTo&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-size: large;&quot;&gt;filmpje&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;</content><link rel='replies' type='application/atom+xml' href='http://pa0akv.blogspot.com/feeds/1691727281137972638/comments/default' title='Reacties posten'/><link rel='replies' type='text/html' href='http://pa0akv.blogspot.com/2010/12/hamklok-one-nieuwe-tussenstop.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/1691727281137972638'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/1691727281137972638'/><link rel='alternate' type='text/html' href='http://pa0akv.blogspot.com/2010/12/hamklok-one-nieuwe-tussenstop.html' title='HamKlok One nieuwe tussenstop'/><author><name>André Koopman</name><uri>http://www.blogger.com/profile/10516334299819036808</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqIMHjlQvilYymqKPFflNyxVKALK_TXHP7Q4bTsGu7KM36xVZvxACsgInVRnE3nN9qnUVZkZURC6BgY02Ug2h0kBbapt-8J0QiVI5ZWw0pKmQxs2q5XD9oS6wQ7wr2mSiRY9XzTcBeZ7o/s72-c/Smitt+trigger.GIF" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288861977151022624.post-1523170479099037847</id><published>2010-11-30T13:04:00.000-08:00</published><updated>2010-12-02T11:16:00.000-08:00</updated><title type='text'>HamKlok One het begin is er...</title><content type='html'>Ok het even een paar dagen stil geweest maar dat kwam door de drukte op het werk en ik had wat moeite om schakelaars goed in te lezen.&lt;br /&gt;
Het schema van de schakelaars moet nog aangepast en het debounce effect is nog niet optimaal maar de eerste schreden zijn gezet om een echte klok te krijgen.&lt;br /&gt;
Voor de ongeduldigen hier het nog niet opgeschoonde programma.&lt;br /&gt;
Vandaag toch even een kleine up-date gemaakt!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;HamKlok One uitleg sprite&lt;br /&gt;
&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Sure 2416 display 24*16 leds&lt;br /&gt;
&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;pa0akv 2010&lt;br /&gt;
&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-----------------------------------&lt;br /&gt;
&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Historie&lt;br /&gt;
&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;versie 0.0 oktober 2010&lt;br /&gt;
&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;versie 0.1 december 2010&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;De klok is deels gereed voor gebruik.&lt;br /&gt;
&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;Gelijk zetten is mogelijk met de eerste&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;drie schakelaars.&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-----------------------------------&lt;br /&gt;
&amp;nbsp;*/&lt;br /&gt;
&lt;br /&gt;
// Eerst even de juiste bibliotheken ophalen&lt;br /&gt;
// Sure libraries&lt;br /&gt;
#include &quot;MatrixDisplay.h&quot;&lt;br /&gt;
#include &quot;DisplayToolbox.h&quot;&lt;br /&gt;
#include &amp;lt;WProgram.h&amp;gt;&lt;br /&gt;
// DS1307 libraries&lt;br /&gt;
#include &amp;lt;Wire.h&amp;gt;&lt;br /&gt;
#include &amp;lt;DS1307.h&amp;gt; // written by &amp;nbsp;mattt on the Arduino forum and modified by D. Sjunnesson&lt;br /&gt;
&lt;br /&gt;
// Het display heeft nog wat aanvullende info nodig&lt;br /&gt;
// Easy to use function&lt;br /&gt;
#define setMaster(dispNum, CSPin) initDisplay(dispNum,CSPin,true)&lt;br /&gt;
#define setSlave(dispNum, CSPin) initDisplay(dispNum,CSPin,false)&lt;br /&gt;
// 1Hz puls aan digitale ingang 9&lt;br /&gt;
#define Puls_1Hz 9&lt;br /&gt;
&lt;br /&gt;
// We hebben maar 1 display! De bibliotheek kan er meer aansturen&lt;br /&gt;
// 1 = Number of displays&lt;br /&gt;
// Data = 10&lt;br /&gt;
// WR == 11&lt;br /&gt;
// False - we dont need a shadow buffer for this example. saves 50% memory!&lt;br /&gt;
&lt;br /&gt;
// Initaliseer Shure display met juiste aansluitingen!&lt;br /&gt;
MatrixDisplay disp(4,11,10, false);&lt;br /&gt;
// Pass a copy of the display into the toolbox&lt;br /&gt;
DisplayToolbox toolbox(&amp;amp;disp);&lt;br /&gt;
&lt;br /&gt;
// In totaal 3 groepen van 8 leds = 24&lt;br /&gt;
// De eerste is positie 0 de laatste = 23&lt;br /&gt;
// Twee groepen hoog dus rechts boven is 0&lt;br /&gt;
// Rechts onder is dan 15&lt;br /&gt;
uint8_t X_MAX = 23;&lt;br /&gt;
uint8_t Y_MAX = 15;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
// variabelen voor menu&lt;br /&gt;
uint8_t MenuTeller = 0;&lt;br /&gt;
uint8_t PosTeller = 1;&lt;br /&gt;
uint8_t Fig0[7];&lt;br /&gt;
uint8_t Fig1[7];&lt;br /&gt;
uint8_t Fig2[7];&lt;br /&gt;
uint8_t Fig3[7];&lt;br /&gt;
uint8_t Fig4[7];&lt;br /&gt;
uint8_t Fig5[7];&lt;br /&gt;
uint8_t Fig6[7];&lt;br /&gt;
uint8_t Fig7[7];&lt;br /&gt;
uint8_t Fig8[7];&lt;br /&gt;
uint8_t Fig9[7];&lt;br /&gt;
uint8_t FigT[7];&lt;br /&gt;
uint8_t FigD[7];&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;//Menu schakelaar aan digitale ingang 3&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;//Positie schakelaar aan digitale ingang 5&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;//Ingave waarde schakelaar ingang 7&lt;/span&gt;&lt;br /&gt;
int MenuPin = 3;&lt;br /&gt;
int PosPin = 5;&lt;br /&gt;
int OphoogPin =7;&lt;br /&gt;
int val = 0;&lt;br /&gt;
int pval = 0;&lt;br /&gt;
int OphoogTeller;&lt;br /&gt;
&lt;br /&gt;
// variabelen voor klok&lt;br /&gt;
int UurTien = 0;&lt;br /&gt;
int UurEen = 0;&lt;br /&gt;
int UurTot = 0;&lt;br /&gt;
int MinTien = 0;&lt;br /&gt;
int MinEen = 0;&lt;br /&gt;
int MinTot = 0;&lt;br /&gt;
int Wtotaal = 0;&lt;br /&gt;
int MaandTien = 0;&lt;br /&gt;
int MaandEen = 0;&lt;br /&gt;
int DagTien = 0;&lt;br /&gt;
int DagEen = 0;&lt;br /&gt;
int MaandTot = 0;&lt;br /&gt;
int DagTot = 0;&lt;br /&gt;
int ClearEnable = 0;&lt;br /&gt;
int rtc[7];&lt;br /&gt;
int sec;&lt;br /&gt;
int secr;&lt;br /&gt;
int secl;&lt;br /&gt;
int mins;&lt;br /&gt;
int minr;&lt;br /&gt;
int minl;&lt;br /&gt;
int hour;&lt;br /&gt;
int hourr;&lt;br /&gt;
int hourl;&lt;br /&gt;
&lt;br /&gt;
void setup()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Serial.begin(9600);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;disp.setMaster(0,4);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;//Overschakelen van normaal naar&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;//MENU bedrijf via interrupt 1&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;//Interrupt 1 hangt aan de menu&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;//schakelaar ingang 3&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;//Afvragen schakelaar in functie menu&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;//Interrupt op opgaande flank!&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;attachInterrupt(1, menu, RISING);&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;//maak de ingangen..&lt;br /&gt;
&amp;nbsp;&amp;nbsp;pinMode(MenuPin, INPUT);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;pinMode(PosPin,INPUT);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;pinMode(OphoogPin,INPUT);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;pinMode(Puls_1Hz,INPUT);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;MenuTeller = 1;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;// Opbouwen van de sprite !&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig0[0] = B01110;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig0[1] = B10001;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig0[2] = B10001;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig0[3] = B10001;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig0[4] = B10001;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig0[5] = B10001;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig0[6] = B01110; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig1[0] = B00110;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig1[1] = B00101;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig1[2] = B00100;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig1[3] = B00100;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig1[4] = B00100;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig1[5] = B00100;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig1[6] = B11111; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig2[0] = B01110;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig2[1] = B10001;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig2[2] = B10000;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig2[3] = B01100;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig2[4] = B00010;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig2[5] = B00001;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig2[6] = B11111; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig3[0] = B01110;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig3[1] = B10001;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig3[2] = B10000;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig3[3] = B01110;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig3[4] = B10000;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig3[5] = B10001;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig3[6] = B01110; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig4[0] = B00001;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig4[1] = B00001;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig4[2] = B01001;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig4[3] = B01001;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig4[4] = B11111;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig4[5] = B01000;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig4[6] = B01000; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig5[0] = B01111;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig5[1] = B00001;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig5[2] = B00001;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig5[3] = B01111;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig5[4] = B10000;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig5[5] = B10000;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig5[6] = B01111; &amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig6[0] = B01110;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig6[1] = B00001;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig6[2] = B00001;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig6[3] = B01111;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig6[4] = B10001;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig6[5] = B10001;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig6[6] = B01110; &amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig7[0] = B11111;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig7[1] = B10000;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig7[2] = B01000;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig7[3] = B00100;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig7[4] = B00010;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig7[5] = B00010;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig7[6] = B00010;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig8[0] = B01110;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig8[1] = B10001;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig8[2] = B10001;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig8[3] = B01110;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig8[4] = B10001;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig8[5] = B10001;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig8[6] = B01110;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig9[0] = B01110;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig9[1] = B10001;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig9[2] = B10001;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig9[3] = B11110;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig9[4] = B10000;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig9[5] = B10000;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Fig9[6] = B01110;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;FigT[0] = B11111;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;FigT[1] = B01110;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;FigT[2] = B00100;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;FigT[3] = B00000;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;FigT[4] = B00000;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;FigT[5] = B00000;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;FigT[6] = B00000;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;FigD[0] = B00000;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;FigD[1] = B00000;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;FigD[2] = B00000;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;FigD[3] = B00000;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;FigD[4] = B00100;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;FigD[5] = B01110;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;FigD[6] = B11111;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Hier begint het eigenlijke programma !&lt;br /&gt;
void loop()&lt;br /&gt;
&lt;br /&gt;
//Klok uitlezen en gelijkzetten werkt nu!&lt;br /&gt;
//&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: red;&quot;&gt;TODO&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: red;&quot;&gt;//Datum zichtbaar maken op verzoek knop 4&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: red;&quot;&gt;//Instellen meerdere tijden&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: red;&quot;&gt;//via + - uren tov Amsterdam&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: red;&quot;&gt;//tijdzone aangeven bv AMS = Amsterdam&lt;/span&gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;switch(MenuTeller)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;case 1 :&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;//Display menu, dit is de ruststand&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;//Klok start in deze situatie&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;//Door indrukken MENU knop&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;//komen we in de verschillende menu&#39;s&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;if (ClearEnable =0)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;disp.clear();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;disp.syncDisplays();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;ClearEnable = 1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;PosTeller = 1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;// Tijd laten zien !&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;RTC.get(rtc,true);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;// issolate tents and units &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;// from RTC minutes&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;mins = rtc[1];&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;// second Col in RTC array&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;if (mins &amp;gt; 9)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;minl = mins/10;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;minr = mins-(minl*10);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;else&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;minr = mins;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;minl = 0;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;// issolate tents and units&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;// from RTC hours&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;hour = rtc[2];&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// thirth Col in RTC array&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;if (hour &amp;gt; 9)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;hourl = hour/10;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;hourr = hour-(hourl*10);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;else&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;hourr = hour;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;hourl = 0;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;} &amp;nbsp;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;// place figures minutes&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;Display(minr,19,0);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;Display(minl,13,0);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;// place figures hours&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;Display(hourr,6,0);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;Display(hourl,0,0);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;// place seconds sign&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;if (digitalRead(Puls_1Hz) == HIGH)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;toolbox.setPixel(12,2,1,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;toolbox.setPixel(12,5,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;else&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;toolbox.setPixel(12,2,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;toolbox.setPixel(12,5,1,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;case 2 :&lt;br /&gt;
// Menu stand 2&lt;br /&gt;
// we willen de tijd instellen!&lt;br /&gt;
// uur tiental,uur eenheden&lt;br /&gt;
// minuut tiental-eenheden&lt;br /&gt;
// positie instellen met&lt;br /&gt;
// positie schakelaar&lt;br /&gt;
// led geeft positie aan !&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(11,8,1,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(11,9,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(11,10,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(11,11,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(11,12,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;//PosTeller = 1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;Instellen (7,1);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;case 3 :&lt;br /&gt;
// Menu stand 3&lt;br /&gt;
// we willen de datum instellen!&lt;br /&gt;
// tientallen en eenheden&lt;br /&gt;
// instellen volgens menu 2&lt;br /&gt;
// info komt nu op onderste&lt;br /&gt;
// displays.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(2,7,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(8,7,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(15,7,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(21,7,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(11,8,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(11,9,1,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(11,10,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(11,11,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(11,12,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;//PosTeller = 1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;Instellen (15,2);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;ClearEnable = 1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;case 4 :&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;// we willen tijd 2 en 3 instellen&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;//TODO !&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;if(ClearEnable ==1)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;disp.clear();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;disp.syncDisplays();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;ClearEnable = 0;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(11,8,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(11,10,1,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(11,9,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(11,11,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(11,12,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;case 5 :&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;// we willen de locaties instelen&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;// TODO !&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(11,10,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(11,9,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(11,8,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(11,12,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(11,11,1,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;case 6 :&lt;br /&gt;
// Menu 6&lt;br /&gt;
// Alle ingegeven waarden&lt;br /&gt;
// naar RTC overhevelen.&lt;br /&gt;
// Ingestelde tijd naar RTC !&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(11,8,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(11,12,1,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(11,9,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(11,10,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(11,11,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;RTC.stop();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;RTC.set(DS1307_SEC,30); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;//set de seconden&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;RTC.set(DS1307_MIN,MinTot); &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;//set de minuten&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;RTC.set(DS1307_HR,UurTot); &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;//set de uren&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;RTC.set(DS1307_DATE,DagTot); &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;//set de dag&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;RTC.set(DS1307_MTH,MaandTot); &amp;nbsp; &amp;nbsp; &amp;nbsp; //set de maand&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;RTC.set(DS1307_YR,10); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;//set het jaar&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;RTC.start();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;Set_Square_Wave(0); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // 1Hz pulsen aan!&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;break; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;} &amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;delay(150);&lt;br /&gt;
}&lt;br /&gt;
// Hier eindigd het eigenlijke programma !&lt;br /&gt;
// En dan opnieuw beginnen !&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Functie voor het opbouwen van de sprite&lt;br /&gt;
&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;deze functie wordt elke keer opgeroepen&lt;br /&gt;
&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;als we een cijfer op het display zetten&lt;br /&gt;
&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;opgave welke sprite SpriteIn&lt;br /&gt;
&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;en de plaats op het display 0,0 Xin,Yin&lt;br /&gt;
&amp;nbsp;*/&lt;br /&gt;
void shiftIt(byte SpriteIn,int Xin,int Yin)&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;// Shift out 5 bits LSB first&lt;br /&gt;
&amp;nbsp;&amp;nbsp;boolean LedStatus;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;// for each bit in SpriteIn test a bit&lt;br /&gt;
&amp;nbsp;&amp;nbsp;for (int i=0; i&amp;lt;5; i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;// if the value of SpriteIn and (logical AND) a bitmask&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;// are true, set LedStatus to 1 (HIGH)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;if ( SpriteIn &amp;amp; (1&amp;lt;&amp;lt;i) )&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;LedStatus = HIGH;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;toolbox.setPixel(Xin+i, Yin, LedStatus, true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;else&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;LedStatus = LOW;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;toolbox.setPixel(Xin+i, Yin, LedStatus, true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;//Functie aangeroepen door de interrupt&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;//Ophogen van de menuteller&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;//1 = display RTC&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;//2-6 zijn de instellingen !&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
void menu()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;if (MenuTeller &amp;lt;6)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;MenuTeller = ++ MenuTeller;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;else&lt;br /&gt;
&amp;nbsp;&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;MenuTeller = 1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;} &lt;br /&gt;
} &lt;br /&gt;
&lt;br /&gt;
//Functie voor het weergeven van info&lt;br /&gt;
//op het display&lt;br /&gt;
//ingave,waarde-kolom-rij&lt;br /&gt;
void Display(int Tvalue,int Col,int Row)&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;switch (Tvalue)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;case 0 :&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;shiftIt(Fig0[i],Col,Row+i);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;case 1 :&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;shiftIt(Fig1[i],Col,Row+i);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;case 2 :&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;shiftIt(Fig2[i],Col,Row+i);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;case 3 :&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;shiftIt(Fig3[i],Col,Row+i);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;case 4 :&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;shiftIt(Fig4[i],Col,Row+i);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;case 5 :&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;shiftIt(Fig5[i],Col,Row+i);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;case 6 :&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;shiftIt(Fig6[i],Col,Row+i);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;case 7 :&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;shiftIt(Fig7[i],Col,Row+i);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;case 8 :&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;shiftIt(Fig8[i],Col,Row+i);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;break; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;case 9 :&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;shiftIt(Fig9[i],Col,Row+i);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
//Functie voor het instellen van de waarden&lt;br /&gt;
//schakelaar voor positie bepaald welke waarde&lt;br /&gt;
//aangegeven door een led op actieve positie&lt;br /&gt;
//ophogen waarde met ophoog schakelaar&lt;br /&gt;
//ingave waarde is &quot;intelligent&quot;&lt;br /&gt;
void Instellen(int Regel,int Mode)&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;val = digitalRead(PosPin); &amp;nbsp; // read the input pin&lt;br /&gt;
&amp;nbsp;&amp;nbsp;if (val)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;PosTeller ++;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;if(PosTeller &amp;gt;4)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;PosTeller = 0;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;} &lt;br /&gt;
&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;switch(PosTeller)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;case 0 :&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(21,Regel,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;//lege positie&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;break; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;case 1 :&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(2,Regel,1,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;if (Mode ==1)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;//instellen tientallen uren&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;OpHoog(UurTien,2,0,0);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;UurTien = OphoogTeller;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;else if (Mode ==2)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;//instellen tientallen dag&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;OpHoog(DagTien,3,0,8);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;DagTien = OphoogTeller;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;case 2 :&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(2,Regel,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(8,Regel,1,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;if (Mode ==1)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;//instellen eenheden uren&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;if(UurTien==2)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;OpHoog(UurEen,4,6,0);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;UurEen = OphoogTeller;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;else&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;OpHoog(UurEen,9,6,0);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;UurEen = OphoogTeller;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;UurTot = (UurTien*10)+UurEen;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;else if (Mode ==2)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;//instellen eenheden dag&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;if(DagTien &amp;lt; 3)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;OpHoog(DagEen,9,6,8);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DagEen = OphoogTeller;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;else&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;OpHoog(DagEen,1,6,8);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DagEen = OphoogTeller;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;case 3 :&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(8,Regel,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(15,Regel,1,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;if (Mode ==1)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;//instellen tientallen minuten&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;OpHoog(MinTien,5,13,0);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;MinTien = OphoogTeller;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;else if (Mode ==2)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;//instellen tientallen maand&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;OpHoog(MaandTien,1,13,8);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;MaandTien = OphoogTeller;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;case 4 :&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(15,Regel,0,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(21,Regel,1,true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;if (Mode ==1)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;//instellen eenheden minuten&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;OpHoog(MinEen,9,19,0);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;MinEen = OphoogTeller;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;MinTot = (MinTien * 10) + MinEen;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;else if (Mode ==2)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;if(MaandTien ==1)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;OpHoog(MaandEen,2,19,8);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MaandEen = OphoogTeller;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;else&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;OpHoog(MaandEen,9,19,8);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MaandEen = OphoogTeller;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;MaandTot = (MaandTien * 10) + MaandEen;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;DagTot = (DagTien * 10) + DagEen;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
}&lt;br /&gt;
//Functie voor het &quot;intelligent&quot; ophogen&lt;br /&gt;
//van de actieve positie&lt;br /&gt;
void OpHoog(int Win,int Wstop,int Reg,int Kol)&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;pval =digitalRead(OphoogPin);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;if(pval)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;OphoogTeller ++;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;} &lt;br /&gt;
&amp;nbsp;&amp;nbsp;if(OphoogTeller &amp;gt; Wstop)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;OphoogTeller = 0;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Win = OphoogTeller;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Display(Win,Reg,Kol);&lt;br /&gt;
}&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;/* &amp;nbsp; &amp;nbsp; &amp;nbsp;Function to get square wave from DS1307&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;* &amp;nbsp; &amp;nbsp; &amp;nbsp;Adopted from........&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Gepikt dus gelaten zoals die was !&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;* &amp;nbsp; &amp;nbsp; &amp;nbsp;Set to 90 hex to get 1 Hz pulses !&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;*/&lt;/span&gt;&lt;br /&gt;
void Set_Square_Wave(int rate)&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;rate = rate + 144; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// 144 = 0x90&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Wire.beginTransmission(0x68); &amp;nbsp; // write to control reg.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Wire.send(0x07); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// reg adres 07&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Wire.send(0x90);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Wire.endTransmission();&lt;br /&gt;
}</content><link rel='replies' type='application/atom+xml' href='http://pa0akv.blogspot.com/feeds/1523170479099037847/comments/default' title='Reacties posten'/><link rel='replies' type='text/html' href='http://pa0akv.blogspot.com/2010/11/hamklok-one-het-begin-is-er.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/1523170479099037847'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/1523170479099037847'/><link rel='alternate' type='text/html' href='http://pa0akv.blogspot.com/2010/11/hamklok-one-het-begin-is-er.html' title='HamKlok One het begin is er...'/><author><name>André Koopman</name><uri>http://www.blogger.com/profile/10516334299819036808</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288861977151022624.post-5615135324186273629</id><published>2010-11-22T12:35:00.000-08:00</published><updated>2010-11-22T12:35:58.153-08:00</updated><title type='text'>Arduino projecten en meer.....: HamKlok One tussenstapje</title><content type='html'>&lt;a href=&quot;http://pa0akv.blogspot.com/2010/11/hamklok-one-tussenstapje.html?spref=bl&quot;&gt;Arduino projecten en meer.....: HamKlok One tussenstapje&lt;/a&gt;: &quot;Voor het instellen van datum en tijd nu de 4 schakelaars geplaatst. Maar hoe ga ik dit softwarematig oplossen. Eerst maar even begrijpen hoe...&quot;</content><link rel='replies' type='application/atom+xml' href='http://pa0akv.blogspot.com/feeds/5615135324186273629/comments/default' title='Reacties posten'/><link rel='replies' type='text/html' href='http://pa0akv.blogspot.com/2010/11/arduino-projecten-en-meer-hamklok-one.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/5615135324186273629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/5615135324186273629'/><link rel='alternate' type='text/html' href='http://pa0akv.blogspot.com/2010/11/arduino-projecten-en-meer-hamklok-one.html' title='Arduino projecten en meer.....: HamKlok One tussenstapje'/><author><name>André Koopman</name><uri>http://www.blogger.com/profile/10516334299819036808</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288861977151022624.post-1760269532272725859</id><published>2010-11-22T12:34:00.000-08:00</published><updated>2010-11-22T12:34:52.314-08:00</updated><title type='text'>HamKlok One tussenstapje</title><content type='html'>Voor het instellen van datum en tijd nu de 4 schakelaars geplaatst.&lt;br /&gt;
Maar hoe ga ik dit softwarematig oplossen.&lt;br /&gt;
Eerst maar even begrijpen hoe ik via een interrupt het klokprogramma kan onderbreken voor het inlezen van de schakelaars. Hiervoor maar even een testprogramma gemaakt.&lt;br /&gt;
&lt;br /&gt;
volatile int menuOn = LOW; deze is nodig om de menu schakelaar te activeren&lt;br /&gt;
int MenuPin = 3; &amp;nbsp;&lt;span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
attachInterrupt(1,&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: yellow;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: black;&quot;&gt; top&lt;/span&gt;&lt;/span&gt;, FALLING);activeren van de interrupt via pin 3 interrupt 1&lt;br /&gt;
pinMode(MenuPin, INPUT);pin 3 ingang maken&lt;br /&gt;
digitalWrite(MenuPin, HIGH);pin 3 pullup weerstand inschakelen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: yellow;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: black;&quot;&gt;void top()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: yellow;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: black;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: yellow;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: black;&quot;&gt;&amp;nbsp;&amp;nbsp; menuOn = !menuOn;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: yellow;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: black;&quot;&gt;}&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Ja zo simpel is de interrupt routine !&lt;br /&gt;
&lt;br /&gt;
Even testen in het hoofdprogramma!&lt;br /&gt;
&lt;br /&gt;
void loop()&lt;br /&gt;
&lt;br /&gt;
// TODO&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;if(menuOn)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;shiftIt(FigD[i],0,9+i);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;else&lt;br /&gt;
&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;shiftIt(FigT[i],0,9+i);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Deze week veel werkdruk dus niet al te veel activiteit !</content><link rel='replies' type='application/atom+xml' href='http://pa0akv.blogspot.com/feeds/1760269532272725859/comments/default' title='Reacties posten'/><link rel='replies' type='text/html' href='http://pa0akv.blogspot.com/2010/11/hamklok-one-tussenstapje.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/1760269532272725859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/1760269532272725859'/><link rel='alternate' type='text/html' href='http://pa0akv.blogspot.com/2010/11/hamklok-one-tussenstapje.html' title='HamKlok One tussenstapje'/><author><name>André Koopman</name><uri>http://www.blogger.com/profile/10516334299819036808</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288861977151022624.post-309648255377632890</id><published>2010-11-16T11:54:00.000-08:00</published><updated>2010-11-16T11:59:35.937-08:00</updated><title type='text'>HamKlok One vervolg 6</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;We hebben een klok !&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZUsUM5TnAsftlREZ5EFnovGMvw5TN4pNxVnhj3ORwFxE4qX2gBY9Mwr9Pl5rU6FngGAQuqoaO4UXclzj1hSr4yU7Cg_NwNJMpIl1OSb21yjQVNyutSaVIdgdfCUc265UR9FLQA0cN-sU/s1600/klok-15-11.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZUsUM5TnAsftlREZ5EFnovGMvw5TN4pNxVnhj3ORwFxE4qX2gBY9Mwr9Pl5rU6FngGAQuqoaO4UXclzj1hSr4yU7Cg_NwNJMpIl1OSb21yjQVNyutSaVIdgdfCUc265UR9FLQA0cN-sU/s320/klok-15-11.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
Vandaag komen we tot de werkelijke klok. We gaan de RTC (Real Time Clock) aansluiten, softwarematig van de juiste starttijd/datum voorzien en de uren,minuten en seconden puls uitlezen en op het display zetten!&lt;br /&gt;
Het aansluiten moet maar eerst even gebeuren...&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeMxhPT2uHb9DhL4B37VTo1FdnNdpop0XDcGlEFLItnQASNRFnVWm6t9UJct8fmk56dfGz_9RbMd57wk1XrVkGjY44dqVFfuhCjqbRfwwR5NIlooUBcTAbnitMmM4uvAqee-ebQU_rqco/s1600/rtc+schema.GIF&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;134&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeMxhPT2uHb9DhL4B37VTo1FdnNdpop0XDcGlEFLItnQASNRFnVWm6t9UJct8fmk56dfGz_9RbMd57wk1XrVkGjY44dqVFfuhCjqbRfwwR5NIlooUBcTAbnitMmM4uvAqee-ebQU_rqco/s200/rtc+schema.GIF&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;pin 7 RTC naar digitale pin 8 op de Arduino, pin 6 RTC naar analoge pin 5 van de Arduino en tot slot pin 5 van de RTC naar analoge pin 4 van de Arduino.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Op de digitale pin 8 komt de 1 Hz klokpuls voor de seconden en de beide analope pinnen worden softwarematig omgeschakeld naar een I2C interface (hier komen we later op terug!)&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;De software is uitgebreid met het genereren van de seconden puls, het uitlezen van de RTC chip en het plaatsen van de cijfers op het display.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Hier het programma, het bijgeschreven commentaar laat zien hoe het werkt!&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Oh ja de &lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;geel gemarkeerde delen&lt;/span&gt; zijn nieuw de rest is al eerder beschreven!&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;/*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;HamKlok One&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Sure 2416 display 24*16 leds&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;pa0akv 2010&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-------------------------------------------&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Historie&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;versie 0.0 15 november 2010&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-------------------------------------------&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;*/&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;// Eerst even de juiste bibliotheken ophalen&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;// Shure libraries&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;#include &quot;MatrixDisplay.h&quot;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;#include &quot;DisplayToolbox.h&quot;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;#include &amp;lt;WProgram.h&amp;gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;// DS1307 libraries&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;#include &amp;lt;Wire.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;#include &amp;lt;DS1307.h&amp;gt; // written by &amp;nbsp;mattt on the Arduino forum and modified by D. Sjunnesson&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;// Het display heeft nog wat aanvullende info nodig&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;// Easy to use function&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;#define setMaster(dispNum, CSPin) initDisplay(dispNum,CSPin,true)&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;#define setSlave(dispNum, CSPin) initDisplay(dispNum,CSPin,false)&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;#define Puls_1Hz 9&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;// We hebben maar 1 display! De bibliotheek kan er meer aansturen&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;// 1 = Number of displays&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;// Data = 10&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;// WR == 11&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;// False - we dont need a shadow buffer for this example. saves 50% memory!&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;// Initaliseer Shure display met juiste aansluitingen!&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;MatrixDisplay disp(4,11,10, false);&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;// Pass a copy of the display into the toolbox&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;DisplayToolbox toolbox(&amp;amp;disp);&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;// In totaal 3 groepen van 8 leds = 24&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;// De eerste is positie 0 de laatste = 23&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;// Twee groepen hoog dus rechts boven is 0&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;// Rechts onder is dan 15&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;uint8_t X_MAX = 23;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;uint8_t Y_MAX = 15;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;// geheugen ruimte voor sprites reserveren&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;uint8_t Fig0[7];&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;uint8_t Fig1[7];&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;uint8_t Fig2[7];&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;uint8_t Fig3[7];&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;uint8_t Fig4[7];&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;uint8_t Fig5[7];&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;uint8_t Fig6[7];&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;uint8_t Fig7[7];&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;uint8_t Fig8[7];&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;uint8_t Fig9[7];&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;uint8_t FigT[7];&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;uint8_t FigD[7];&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;// ruimte voor RTC registers maken&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;int rtc[7];&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;int sec;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;int secr;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;int secl;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;int mins;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;int minr;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;int minl;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;int hour;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;int hourr;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;int hourl;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;void setup()&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;{&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;// Digital I/O eerst definieren&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;pinMode(Puls_1Hz,INPUT);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;disp.setMaster(0,4);&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;// Klok deel inrichten ! &amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;/* &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Dit deel voor het gelijk zetten van de klok!&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Verwijder // om dit deel te activeren&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Voeg toe // om dit deel over te slaan&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Nodig zolang er geen gelijk zet functionaliteit&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;aan het programma is toegevoegd !!&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;*/&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;//RTC.stop();&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;//RTC.set(DS1307_SEC,30); &amp;nbsp; &amp;nbsp;//set de seconden&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;//RTC.set(DS1307_MIN,14); &amp;nbsp; &amp;nbsp;//set dee minuten&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;//RTC.set(DS1307_HR,20); &amp;nbsp; &amp;nbsp; //set de uren&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;//RTC.set(DS1307_DOW,2); &amp;nbsp; &amp;nbsp; //set de dag van de week&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;//RTC.set(DS1307_DATE,16); &amp;nbsp; //set de datum&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;//RTC.set(DS1307_MTH,11); &amp;nbsp; &amp;nbsp;//set de maand&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;//RTC.set(DS1307_YR,10); &amp;nbsp; &amp;nbsp; //set het jaar&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;//RTC.start();&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;Set_Square_Wave(0); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// 1Hz pulsen on!&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;// Opbouwen van de sprite !&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig0[0] = B01110;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig0[1] = B10001;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig0[2] = B10001;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig0[3] = B10001;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig0[4] = B10001;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig0[5] = B10001;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig0[6] = B01110; &amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig1[0] = B00110;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig1[1] = B00101;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig1[2] = B00100;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig1[3] = B00100;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig1[4] = B00100;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig1[5] = B00100;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig1[6] = B11111; &amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig2[0] = B01110;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig2[1] = B10001;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig2[2] = B10000;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig2[3] = B01100;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig2[4] = B00010;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig2[5] = B00001;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig2[6] = B11111; &amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig3[0] = B01110;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig3[1] = B10001;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig3[2] = B10000;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig3[3] = B01110;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig3[4] = B10000;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig3[5] = B10001;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig3[6] = B01110; &amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig4[0] = B00001;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig4[1] = B00001;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig4[2] = B01001;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig4[3] = B01001;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig4[4] = B11111;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig4[5] = B01000;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig4[6] = B01000; &amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig5[0] = B01111;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig5[1] = B00001;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig5[2] = B00001;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig5[3] = B01111;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig5[4] = B10000;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig5[5] = B10000;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig5[6] = B01111; &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig6[0] = B01110;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig6[1] = B00001;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig6[2] = B00001;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig6[3] = B01111;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig6[4] = B10001;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig6[5] = B10001;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig6[6] = B01110; &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig7[0] = B11111;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig7[1] = B10000;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig7[2] = B01000;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig7[3] = B00100;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig7[4] = B00010;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig7[5] = B00010;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig7[6] = B00010;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig8[0] = B01110;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig8[1] = B10001;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig8[2] = B10001;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig8[3] = B01110;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig8[4] = B10001;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig8[5] = B10001;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig8[6] = B01110;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig9[0] = B01110;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig9[1] = B10001;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig9[2] = B10001;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig9[3] = B11110;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig9[4] = B10000;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig9[5] = B10000;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig9[6] = B01110;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;FigT[0] = B11111;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;FigT[1] = B01110;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;FigT[2] = B00100;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;FigT[3] = B00000;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;FigT[4] = B00000;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;FigT[5] = B00000;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;FigT[6] = B00000;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;FigD[0] = B00000;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;FigD[1] = B00000;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;FigD[2] = B00000;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;FigD[3] = B00000;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;FigD[4] = B00100;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;FigD[5] = B01110;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;FigD[6] = B11111;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;}&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;// Hier begint het eigenlijke programma !&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;void loop()&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;{&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;// start met de RTC&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;RTC.get(rtc,true);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;// issoleer tientallen en eenheden&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;// van &amp;nbsp;RTC minuten register&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;mins = rtc[1];&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// tweede Kol in RTC array&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;if (mins &amp;gt; 9)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;minl = mins/10;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;minr = mins-(minl*10);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;else&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;minr = mins;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;minl = 0;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;// issoleer tentallen en eenheden&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;// van &amp;nbsp;RTC uren register&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;hour = rtc[2];&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// derde Kol in RTC array&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;if (hour &amp;gt; 9)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;hourl = hour/10;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;hourr = hour-(hourl*10);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;else&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;hourr = hour;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;hourl = 0;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;} &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;// minuten sprites plaatsen&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;Display(minr,19,1);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;Display(minl,13,1);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;// uren sprites plaatsen&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;Display(hourr,6,1);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;Display(hourl,0,1);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;// seconden tik !&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;if (digitalRead(Puls_1Hz) == HIGH)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(11,3,1,true);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(12,3,1,true);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(11,4,0,true);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(12,4,0,true);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;else&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(11,3,0,true);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(12,3,0,true);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(11,4,1,true);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;toolbox.setPixel(12,4,1,true);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;// even wachten&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;delay(200);&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;} &amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;// Hier eindigd het eigenlijke programma !&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;// En dan opnieuw beginnen !&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;/*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Functie voor het opbouwen van de sprite&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;deze functie wordt elke keer opgeroepen&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;als we een cijfer op het display zetten&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;opgave welke sprite SpriteIn&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;en de plaats op het display 0,0 Xin,Yin&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;*/&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;void shiftIt(byte SpriteIn,int Xin,int Yin)&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;{&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;// Shift out 5 bits LSB first&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;boolean LedStatus;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;// for each bit in SpriteIn test a bit&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;for (int i=0; i&amp;lt;5; i++)&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;// if the value of SpriteIn and (logical AND) a bitmask&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;// are true, set LedStatus to 1 (HIGH)&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp; if ( SpriteIn &amp;amp; (1&amp;lt;&amp;lt;i) )&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;LedStatus = HIGH;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;toolbox.setPixel(Xin+i, Yin, LedStatus, true);&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;else&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;LedStatus = LOW;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;toolbox.setPixel(Xin+i, Yin, LedStatus, true);&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;} &amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;/*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Functie om nummer naar sprite te converteren&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;en op Shure display te plaatsen&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Opgave te plaatsen cijfer Tvalue&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;en plaats via kolom en rij&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;*/&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;void Display(int Tvalue,int Col,int Row)&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;switch (Tvalue)&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;case 0 :&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;for (int i = 0; i &amp;lt; 7; i ++)&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;{&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;shiftIt(Fig0[i],Col,Row+i);&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;break;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;case 1 :&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;for (int i = 0; i &amp;lt; 7; i ++)&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;{&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;shiftIt(Fig1[i],Col,Row+i);&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;break;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;case 2 :&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;for (int i = 0; i &amp;lt; 7; i ++)&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;{&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;shiftIt(Fig2[i],Col,Row+i);&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;break;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;case 3 :&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;for (int i = 0; i &amp;lt; 7; i ++)&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;{&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;shiftIt(Fig3[i],Col,Row+i);&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;break;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;case 4 :&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;for (int i = 0; i &amp;lt; 7; i ++)&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;{&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;shiftIt(Fig4[i],Col,Row+i);&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;break;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;case 5 :&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;for (int i = 0; i &amp;lt; 7; i ++)&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;{&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;shiftIt(Fig5[i],Col,Row+i);&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;break;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;case 6 :&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;for (int i = 0; i &amp;lt; 7; i ++)&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;{&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;shiftIt(Fig6[i],Col,Row+i);&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;break;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;case 7 :&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;for (int i = 0; i &amp;lt; 7; i ++)&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;shiftIt(Fig7[i],Col,Row+i);&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;case 8 :&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;for (int i = 0; i &amp;lt; 7; i ++)&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;{&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;shiftIt(Fig8[i],Col,Row+i);&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;break; &amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;case 9 :&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;for (int i = 0; i &amp;lt; 7; i ++)&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;{&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;shiftIt(Fig9[i],Col,Row+i);&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;break;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;case 10 :&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;for (int i = 0; i &amp;lt; 7; i ++)&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;{&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;shiftIt(FigT[i],Col,Row+i);&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;break;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;case 11 :&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;for (int i = 0; i &amp;lt; 7; i ++)&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;{&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;shiftIt(FigD[i],Col,Row+i);&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;break;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;}&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;/* &amp;nbsp; &amp;nbsp; &amp;nbsp;Functie om blokpuls van DS1307 te halen&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;* &amp;nbsp; &amp;nbsp; &amp;nbsp; Adopted from........&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;* &amp;nbsp; &amp;nbsp; &amp;nbsp; Set to 90 hex to get 1 Hz pulses !&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;*/&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;void Set_Square_Wave(int rate)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;rate = rate + 144; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// 144 = 0x90&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Wire.beginTransmission(0x68); &amp;nbsp; // write to control reg.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Wire.send(0x07); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// reg adres 07&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Wire.send(0x90);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Wire.endTransmission();&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;}&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;Nog een stap en we hebben het klok deel klaar! We moeten nog iets verzinnen om het gelijk zetten van de klok ook zonder de pc te kunnen doen.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;Hiervoor hebben we wat schakelaartjes in petto die deze taak voor ons kan klaren.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pa0akv.blogspot.com/feeds/309648255377632890/comments/default' title='Reacties posten'/><link rel='replies' type='text/html' href='http://pa0akv.blogspot.com/2010/11/hamklok-one-vervolg-6.html#comment-form' title='1 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/309648255377632890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/309648255377632890'/><link rel='alternate' type='text/html' href='http://pa0akv.blogspot.com/2010/11/hamklok-one-vervolg-6.html' title='HamKlok One vervolg 6'/><author><name>André Koopman</name><uri>http://www.blogger.com/profile/10516334299819036808</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZUsUM5TnAsftlREZ5EFnovGMvw5TN4pNxVnhj3ORwFxE4qX2gBY9Mwr9Pl5rU6FngGAQuqoaO4UXclzj1hSr4yU7Cg_NwNJMpIl1OSb21yjQVNyutSaVIdgdfCUc265UR9FLQA0cN-sU/s72-c/klok-15-11.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288861977151022624.post-4289278789729983565</id><published>2010-11-15T13:03:00.000-08:00</published><updated>2010-11-15T13:08:32.855-08:00</updated><title type='text'>HamKlok One vervolg 5</title><content type='html'>Deze keer een kleine verbetering. Het lijkt zinvol voor het plaatsen van een cijfer een functie te schrijven.&lt;br /&gt;
Hierdoor wordt het werkelijke programma aanmerkelijk overzichtelijker.&lt;br /&gt;
Het resultaat is dan:&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;/*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;HamKlok One uitleg sprite&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Sure 2416 display 24*16 leds&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;pa0akv 2010&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-----------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Historie&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;versie 0.0 november 2010&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-----------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*/&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Eerst even de juiste bibliotheken ophalen&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Shure libraries&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;#include &quot;MatrixDisplay.h&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;#include &quot;DisplayToolbox.h&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;#include &amp;lt;WProgram.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Het display heeft nog wat aanvullende info nodig&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Easy to use function&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;#define setMaster(dispNum, CSPin) initDisplay(dispNum,CSPin,true)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;#define setSlave(dispNum, CSPin) initDisplay(dispNum,CSPin,false)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// We hebben maar 1 display! De bibliotheek kan er meer aansturen&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// 1 = Number of displays&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Data = 10&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// WR == 11&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// False - we dont need a shadow buffer for this example. saves 50% memory!&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Initaliseer Shure display met juiste aansluitingen!&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;MatrixDisplay disp(4,11,10, false);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Pass a copy of the display into the toolbox&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;DisplayToolbox toolbox(&amp;amp;disp);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// In totaal 3 groepen van 8 leds = 24&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// De eerste is positie 0 de laatste = 23&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Twee groepen hoog dus rechts boven is 0&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Rechts onder is dan 15&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t X_MAX = 23;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t Y_MAX = 15;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Dit voorbeeld heeft 1 Array Fig5 !&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t Fig0[7];&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t Fig1[7];&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t Fig2[7];&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t Fig3[7];&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t Fig4[7];&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t Fig5[7];&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t Fig6[7];&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t Fig7[7];&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t Fig8[7];&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t Fig9[7];&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t FigT[7];&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t FigD[7];&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;void setup()&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;disp.setMaster(0,4);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;// Opbouwen van de sprite !&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig0[0] = B01110;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig0[1] = B10001;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig0[2] = B10001;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig0[3] = B10001;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig0[4] = B10001;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig0[5] = B10001;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig0[6] = B01110; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig1[0] = B00110;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig1[1] = B00101;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig1[2] = B00100;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig1[3] = B00100;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig1[4] = B00100;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig1[5] = B00100;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig1[6] = B11111; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig2[0] = B01110;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig2[1] = B10001;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig2[2] = B10000;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig2[3] = B01100;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig2[4] = B00010;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig2[5] = B00001;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig2[6] = B11111; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig3[0] = B01110;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig3[1] = B10001;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig3[2] = B10000;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig3[3] = B01110;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig3[4] = B10000;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig3[5] = B10001;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig3[6] = B01110; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig4[0] = B00001;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig4[1] = B00001;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig4[2] = B01001;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig4[3] = B01001;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig4[4] = B11111;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig4[5] = B01000;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig4[6] = B01000; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig5[0] = B01111;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig5[1] = B00001;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig5[2] = B00001;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig5[3] = B01111;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig5[4] = B10000;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig5[5] = B10000;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig5[6] = B01111; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig6[0] = B01110;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig6[1] = B00001;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig6[2] = B00001;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig6[3] = B01111;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig6[4] = B10001;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig6[5] = B10001;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig6[6] = B01110; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig7[0] = B11111;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig7[1] = B10000;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig7[2] = B01000;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig7[3] = B00100;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig7[4] = B00010;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig7[5] = B00010;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig7[6] = B00010;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig8[0] = B01110;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig8[1] = B10001;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig8[2] = B10001;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig8[3] = B01110;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig8[4] = B10001;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig8[5] = B10001;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig8[6] = B01110;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig9[0] = B01110;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig9[1] = B10001;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig9[2] = B10001;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig9[3] = B11110;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig9[4] = B10000;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig9[5] = B10000;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig9[6] = B01110;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;FigT[0] = B11111;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;FigT[1] = B01110;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;FigT[2] = B00100;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;FigT[3] = B00000;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;FigT[4] = B00000;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;FigT[5] = B00000;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;FigT[6] = B00000;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;FigD[0] = B00000;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;FigD[1] = B00000;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;FigD[2] = B00000;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;FigD[3] = B00000;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;FigD[4] = B00100;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;FigD[5] = B01110;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;FigD[6] = B11111;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;// Hier begint het eigenlijke programma !&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;void loop()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;{&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;// Bovenste regel met &quot;nep tijd&quot; plaatsen &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;Display(1,0,1);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;Display(4,6,1);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;Display(5,13,1);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;Display(3,19,1);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;// Dubbele punt als scheiding aanbrengen &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;toolbox.setPixel(11,3,1,true);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;toolbox.setPixel(11,6,1,true);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;// Onderste regel even vullen&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;// Met een artistieke seconden aanduiding&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;Display(10,9,9);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;delay(800);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;Display(11,9,9);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp;delay(800);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;} &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;// Hier eindigd het eigenlijke programma !&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;// En dan opnieuw beginnen !&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;/*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Functie voor het opbouwen van de sprite&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;deze functie wordt elke keer opgeroepen&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;als we een cijfer op het display zetten&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;opgave welke sprite SpriteIn&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;en de plaats op het display 0,0 Xin,Yin&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*/&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;void shiftIt(byte SpriteIn,int Xin,int Yin)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;// Shift out 5 bits LSB first&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;boolean LedStatus;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;// for each bit in SpriteIn test a bit&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;for (int i=0; i&amp;lt;5; i++)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;// if the value of SpriteIn and (logical AND) a bitmask&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;// are true, set LedStatus to 1 (HIGH)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if ( SpriteIn &amp;amp; (1&amp;lt;&amp;lt;i) )&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;LedStatus = HIGH;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;toolbox.setPixel(Xin+i, Yin, LedStatus, true);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;else&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;LedStatus = LOW;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;toolbox.setPixel(Xin+i, Yin, LedStatus, true);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;} &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;/*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Functie om nummer naar sprite te converteren&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;en op Shure display te plaatsen&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Opgave te plaatsen cijfer Tvalue&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;en plaats via kolom en rij&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;*/&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;void Display(int Tvalue,int Col,int Row)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp;switch (Tvalue)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp;case 0 :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;shiftIt(Fig0[i],Col,Row+i);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp;case 1 :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;shiftIt(Fig1[i],Col,Row+i);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp;case 2 :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;shiftIt(Fig2[i],Col,Row+i);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp;case 3 :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;shiftIt(Fig3[i],Col,Row+i);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp;case 4 :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;shiftIt(Fig4[i],Col,Row+i);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp;case 5 :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;shiftIt(Fig5[i],Col,Row+i);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp;case 6 :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;shiftIt(Fig6[i],Col,Row+i);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp;case 7 :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;shiftIt(Fig7[i],Col,Row+i);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp;case 8 :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;shiftIt(Fig8[i],Col,Row+i);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;break; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp;case 9 :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;shiftIt(Fig9[i],Col,Row+i);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp;case 10 :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;shiftIt(FigT[i],Col,Row+i);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp;case 11 :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;shiftIt(FigD[i],Col,Row+i);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;}&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Het groen gedeelte is de nieuwe functie en het gele gedeelte is het deel waar wordt bepaald welke sprites, waar worden geplaatst.&lt;br /&gt;
Het resultaat op de bovenste regel 14:53 en op de onderste regel een pijl op neer in het ritme van een seconde!&lt;br /&gt;
&lt;br /&gt;
Nu naderen we bijna de klok functionaliteit. Als we de RTC info inlezen en omzetten naar Sprites begint&lt;br /&gt;
het echt op een klok te lijken......&lt;br /&gt;
&lt;br /&gt;
wordt vervolgt !</content><link rel='replies' type='application/atom+xml' href='http://pa0akv.blogspot.com/feeds/4289278789729983565/comments/default' title='Reacties posten'/><link rel='replies' type='text/html' href='http://pa0akv.blogspot.com/2010/11/hamklok-one-vervolg-5.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/4289278789729983565'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/4289278789729983565'/><link rel='alternate' type='text/html' href='http://pa0akv.blogspot.com/2010/11/hamklok-one-vervolg-5.html' title='HamKlok One vervolg 5'/><author><name>André Koopman</name><uri>http://www.blogger.com/profile/10516334299819036808</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288861977151022624.post-360523317974817867</id><published>2010-11-14T08:16:00.000-08:00</published><updated>2010-11-14T08:23:49.851-08:00</updated><title type='text'>HamKlok One vervolg 4</title><content type='html'>Vandaag het vullen van het display afmaken. Voor elk cijfer een sprite maken en elk sprite even testen op het display. Het resultaat ziet er zo uit !&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh48KK91tnjD1CZovQqdBo0dLT_LVMVfaMbEp3wyRj2IK6zx9HvGrH5Ac-muyIpgw-1AMdHkJocjRkQwKH60MBGiTpv4tEPX6RsMGbhRx7u_9LralDzMRiNe1XHn6N9VgszIlFGpQ3KweM/s1600/disp0-7.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh48KK91tnjD1CZovQqdBo0dLT_LVMVfaMbEp3wyRj2IK6zx9HvGrH5Ac-muyIpgw-1AMdHkJocjRkQwKH60MBGiTpv4tEPX6RsMGbhRx7u_9LralDzMRiNe1XHn6N9VgszIlFGpQ3KweM/s200/disp0-7.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4FF4mQdm3qvkxvc1PAXlfBOkemMj5jA_wgi41oHwbZ8uTADTdMbw2A8DfNIbOT6lIJaltPuwUTl_c0ayKTasq1itxWL6yUJfb6DEykG7HLAKj0kYA3vjZdiKCOPaN7We8_2aMZhAERMI/s1600/disp89.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4FF4mQdm3qvkxvc1PAXlfBOkemMj5jA_wgi41oHwbZ8uTADTdMbw2A8DfNIbOT6lIJaltPuwUTl_c0ayKTasq1itxWL6yUJfb6DEykG7HLAKj0kYA3vjZdiKCOPaN7We8_2aMZhAERMI/s200/disp89.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;En het basisprogramma is ietsje groter geworden !&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;/*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;HamKlok One uitleg sprite&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Sure 2416 display 24*16 leds&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;pa0akv 2010&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-----------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Historie&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;versie 0.1 november 2010&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-----------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*/&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Eerst even de juiste bibliotheken ophalen!&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Shure libraries&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;#include &quot;MatrixDisplay.h&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;#include &quot;DisplayToolbox.h&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;#include &amp;lt;WProgram.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Het display heeft nog wat aanvullende info nodig&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Easy to use function&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;#define setMaster(dispNum, CSPin) initDisplay(dispNum,CSPin,true)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;#define setSlave(dispNum, CSPin) initDisplay(dispNum,CSPin,false)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// We hebben maar 1 display! De bibliotheek kan er meer aansturen&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// 1 = Number of displays&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Data = 10&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// WR == 11&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// False - we dont need a shadow buffer for this example. saves 50% memory!&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Initaliseer Shure display met juiste aansluitingen!&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;MatrixDisplay disp(4,11,10, false);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Pass a copy of the display into the toolbox&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;DisplayToolbox toolbox(&amp;amp;disp);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// In totaal 3 groepen van 8 leds = 24&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// De eerste is positie 0 de laatste = 23&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Twee groepen hoog dus rechts boven is 0&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Rechts onder is dan 15&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t X_MAX = 23;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t Y_MAX = 15;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Dit voorbeeld heeft 12 Array&#39;s voor elke sprite een !&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t Fig0[7];&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t Fig1[7];&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t Fig2[7];&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t Fig3[7];&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t Fig4[7];&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t Fig5[7];&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t Fig6[7];&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t Fig7[7];&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t Fig8[7];&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t Fig9[7];&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t FigT[7];&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t FigD[7];&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;void setup()&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;disp.setMaster(0,4);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Opbouwen van de sprites !&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Eerst cijfer 0 - 9&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Dan nog even twee symbolen !&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig0[0] = B01110;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig0[1] = B10001;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig0[2] = B10001;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig0[3] = B10001;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig0[4] = B10001;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig0[5] = B10001;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig0[6] = B01110; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig1[0] = B00110;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig1[1] = B00101;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig1[2] = B00100;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig1[3] = B00100;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig1[4] = B00100;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig1[5] = B00100;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig1[6] = B11111; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig2[0] = B01110;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig2[1] = B10001;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig2[2] = B10000;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig2[3] = B01100;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig2[4] = B00010;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig2[5] = B00001;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig2[6] = B11111; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig3[0] = B01110;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig3[1] = B10001;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig3[2] = B10000;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig3[3] = B01110;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig3[4] = B10000;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig3[5] = B10001;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig3[6] = B01110; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig4[0] = B00001;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig4[1] = B00001;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig4[2] = B01001;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig4[3] = B01001;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig4[4] = B11111;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig4[5] = B01000;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig4[6] = B01000; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig5[0] = B01111;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig5[1] = B00001;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig5[2] = B00001;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig5[3] = B01111;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig5[4] = B10000;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig5[5] = B10000;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig5[6] = B01111; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig6[0] = B01110;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig6[1] = B00001;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig6[2] = B00001;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig6[3] = B01111;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig6[4] = B10001;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig6[5] = B10001;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig6[6] = B01110; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig7[0] = B11111;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig7[1] = B10000;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig7[2] = B01000;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig7[3] = B00100;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig7[4] = B00010;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig7[5] = B00010;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig7[6] = B00010;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig8[0] = B01110;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig8[1] = B10001;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig8[2] = B10001;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig8[3] = B01110;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig8[4] = B10001;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig8[5] = B10001;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig8[6] = B01110;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig9[0] = B01110;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig9[1] = B10001;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig9[2] = B10001;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig9[3] = B11110;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig9[4] = B10000;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig9[5] = B10000;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig9[6] = B01110;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// nu de symbolen !&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;FigT[0] = B11111;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;FigT[1] = B01110;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;FigT[2] = B00100;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;FigT[3] = B00000;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;FigT[4] = B00000;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;FigT[5] = B00000;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;FigT[6] = B00000;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;FigD[0] = B00000;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;FigD[1] = B00000;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;FigD[2] = B00000;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;FigD[3] = B00000;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;FigD[4] = B00100;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;FigD[5] = B01110;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;FigD[6] = B11111;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Hier begint het eigenlijke programma !&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;void loop()&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;{&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// eerste regel display schrijven !&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;shiftIt(Fig0[i],0,0+i);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;shiftIt(Fig1[i],6,0+i);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;shiftIt(Fig2[i],12,0+i);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;shiftIt(Fig3[i],18,0+i);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Tweede regel display schrijven!&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;shiftIt(Fig4[i],0,9+i);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;shiftIt(Fig5[i],6,9+i);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;shiftIt(Fig6[i],12,9+i);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;shiftIt(Fig7[i],18,9+i);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;delay(2000); // Wacht 2 seconden&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;// Nu alles wegpoetsen&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;disp.clear();&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;// ...en leeg display laten zien !&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;disp.syncDisplays();&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;delay(2000); // Wacht 2 seconden&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;// De acht en negen nog even laten zien ....&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;shiftIt(Fig8[i],6,4+i);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;shiftIt(Fig9[i],12,4+i);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;shiftIt(FigT[i],0,0+i);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;shiftIt(FigD[i],0,8+i);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;delay(2000); // Wacht 2 seconden&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;// Nu alles wegpoetsen&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;disp.clear();&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;// ...en leeg display laten zien !&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;disp.syncDisplays();&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;delay(2000); // Wacht 2 seconden&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Hier eindigd het eigenlijke programma !&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// En dan opnieuw beginnen !&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;//********************************&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;/*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Functie voor het opbouwen van de sprite&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;deze functie wordt elke keer opgeroepen&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;als we een cijfer op het display zetten&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;opgave welke sprite SpriteIn&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;en de plaats op het display 0,0 Xin,Yin&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*/&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;void shiftIt(byte SpriteIn,int Xin,int Yin)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;// Shift out 5 bits LSB first&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;boolean LedStatus;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;// for each bit in SpriteIn test a bit&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;for (int i=0; i&amp;lt;5; i++)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;// if the value of SpriteIn and (logical AND) a bitmask&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;// are true, set LedStatus to 1 (HIGH)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if ( SpriteIn &amp;amp; (1&amp;lt;&amp;lt;i) )&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;LedStatus = HIGH;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;toolbox.setPixel(Xin+i, Yin, LedStatus, true);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;else&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;LedStatus = LOW;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;toolbox.setPixel(Xin+i, Yin, LedStatus, true);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;} &amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Hier plaatsen we de sprites nog met steeds dezelfde code. De volgende stap is om ook hiervoor een functie te maken dan wordt het programma makkelijker te lezen.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pa0akv.blogspot.com/feeds/360523317974817867/comments/default' title='Reacties posten'/><link rel='replies' type='text/html' href='http://pa0akv.blogspot.com/2010/11/hamklok-one-vervolg-4.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/360523317974817867'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/360523317974817867'/><link rel='alternate' type='text/html' href='http://pa0akv.blogspot.com/2010/11/hamklok-one-vervolg-4.html' title='HamKlok One vervolg 4'/><author><name>André Koopman</name><uri>http://www.blogger.com/profile/10516334299819036808</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh48KK91tnjD1CZovQqdBo0dLT_LVMVfaMbEp3wyRj2IK6zx9HvGrH5Ac-muyIpgw-1AMdHkJocjRkQwKH60MBGiTpv4tEPX6RsMGbhRx7u_9LralDzMRiNe1XHn6N9VgszIlFGpQ3KweM/s72-c/disp0-7.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288861977151022624.post-7630091137265875605</id><published>2010-11-12T11:40:00.000-08:00</published><updated>2010-11-13T07:07:13.977-08:00</updated><title type='text'>HamKlok One vervolg 3</title><content type='html'>Zo vandaag de start van een nieuw deel van onze klok. We gaan het LED matrix display aansturen om de tijd weer te geven. Leuk om de tijd in het terminal venster van de PC te zien maar dat was niet echt de bedoeling!&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgk98YopW98rAQkrgRd3uSr2_U27TMDRAvD1kP3Lx1GXoukZxiaE1u1-yyEZUD9FZsrjajEL5wAxyVR4NHfdyVgBSREUN7Rp4uxXxkJGkKmIf-wwuAv7d4EnO1yrb2Y8auCbqcYOzBQl_w/s1600/display.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;250&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgk98YopW98rAQkrgRd3uSr2_U27TMDRAvD1kP3Lx1GXoukZxiaE1u1-yyEZUD9FZsrjajEL5wAxyVR4NHfdyVgBSREUN7Rp4uxXxkJGkKmIf-wwuAv7d4EnO1yrb2Y8auCbqcYOzBQl_w/s320/display.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;Nee het moet hier opkomen !!! Lijkt duur maar voor rond de 15,00 euro te koop op Ebay en binnen twee weken via de post bij je thuis afgeleverd. Valt dus wel mee!&lt;br /&gt;
Dit display is opgebouwd uit 6 blokjes van elk 8 maal 8 ledjes&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicqmuuwXCygvKDvEUcRT3qoZUwUodMONLvrvTPNPj7rzYIVVYF_4fy1BPq1hfJbk_ns15FqFye8wAAFVEvwwUVQHLYNdZoZ1TTfv3fNQ4GSJLDhgBZutqh5GWzRdNrxZJwuLDE4nmfwI4/s1600/mitrix-totaal.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;224&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicqmuuwXCygvKDvEUcRT3qoZUwUodMONLvrvTPNPj7rzYIVVYF_4fy1BPq1hfJbk_ns15FqFye8wAAFVEvwwUVQHLYNdZoZ1TTfv3fNQ4GSJLDhgBZutqh5GWzRdNrxZJwuLDE4nmfwI4/s320/mitrix-totaal.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;en via de aanwezige stuur elektronica is elke led separaat aan te sturen. Gelukkig heeft niet elke led zijn eigen aansluiting want dan hadden we 6*8*8 aansluitingen nodig! Nee de stuur elektronica is zo slim dat drie draadjes en wat software genoeg is om dit voor elkaar te krijgen!&lt;br /&gt;
(een CS, een WR en een DATA aansturing is al voldoende.)&lt;br /&gt;
&lt;br /&gt;
Verder is het van belang dat we een groep ledjes zo groeperen dat er een cijfer 0 tot en met 9 gevormd kan worden. Zo&#39;n groepje leds noemen we een sprite.&lt;br /&gt;
Hier een voorbeeld van zo&#39;n sprite:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-knpsYvoxej-YqN-XpZ7VLv0nMIK9njR64yBMf5g_C-GaPgput0lwuCr7QAY9p5TRvfXFszhYX91LFJtT155fF8z1F-sy1Rg3rW-cU613WSNivWBarK_yOWIPd6x_pIIYtAS_XzWpQS0/s1600/7.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-knpsYvoxej-YqN-XpZ7VLv0nMIK9njR64yBMf5g_C-GaPgput0lwuCr7QAY9p5TRvfXFszhYX91LFJtT155fF8z1F-sy1Rg3rW-cU613WSNivWBarK_yOWIPd6x_pIIYtAS_XzWpQS0/s320/7.JPG&quot; width=&quot;203&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Als je goed telt zie je dat zo&#39;n sprite,in ons geval, uit 5 ledjes breed en 7 ledjes hoog bestaat. Dit geeft ons de kans maximaal 24/5 sprites naast elkaar te zetten, en 16/7 sprites boven elkaar te zetten.&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Ons display was toch 3 maal 8 led&#39;s breed en 2 maal 8 led&#39;s hoog ?&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;In de praktijk betekend dit, met wat tussenruimte, 4 sprites naast elkaar en twee sprites boven elkaar.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Genoeg om op de bovenkant van ons display de tijd b.v. 20:10 te plaatsen.( : plaatsen we op een van de 4 overgebleven plaatsen)&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Nu is de bovenste regel van het display bezet en kunnen we de onderste regel voor andere doeleinden gebruiken.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Het opbouwen van zo,n sprite doen we in de software door in het het raster van 5 maal 7 leds een logische &quot;1&quot; naar de ledjes die we aan willen hebben te sturen en een logische &quot;0&quot; naar de ledjes die we uit willen sturen. Nog even moeilijk te volgen ? Ik zal een voorbeeld voor het cijfer 0 geven.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;Sprite cijfer 0&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwT_8GwlTNP6_bHCh-PEEhJ2KJXLsa4TFutg9P9bcBznhqT_8wuKSbVCjMOvCuYkNGEQZ3vUgA5kwyy_x-NN1rNbmVqtvwH9LcfBtrTem8eh67zrAw-pZ6wERojT9_OqDrkFV-sO0aAog/s1600/0.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwT_8GwlTNP6_bHCh-PEEhJ2KJXLsa4TFutg9P9bcBznhqT_8wuKSbVCjMOvCuYkNGEQZ3vUgA5kwyy_x-NN1rNbmVqtvwH9LcfBtrTem8eh67zrAw-pZ6wERojT9_OqDrkFV-sO0aAog/s320/0.JPG&quot; width=&quot;203&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Als we naar de ledjes kijken en we beginnen bovenaan dan zien we van links naar rechts en daarna elke keer een regel zakken:&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ol&gt;&lt;ol&gt;&lt;li&gt;regel &amp;nbsp;led uit-led aan-led aan-led aan-led uit of logisch gezien &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;01110&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;regel &amp;nbsp;led aan-led uit-led uit-led uit- led aan of logisch gezien &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;10001&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;regel &amp;nbsp;led aan-led uit-led uit-led uit- led aan of logisch gezien &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;10001&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;regel &amp;nbsp;led aan-led uit-led uit-led uit- led aan of logisch gezien &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;10001&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;regel &amp;nbsp;led aan-led uit-led uit-led uit- led aan of logisch gezien &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;10001&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;regel &amp;nbsp;led aan-led uit-led uit-led uit- led aan of logisch gezien &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;10001&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;regel &amp;nbsp;led uit-led aan-led aan-led aan-led uit of logisch gezien&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;01110&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/ol&gt;In de door ons gebruikte microprocessor is het mogelijk deze sprites op te slaan en elke keer als we een cijfer nodig hebben deze op te roepen en op de juiste plaats van het display te laten verschijnen. Met andere woorden als je voor de cijfers 0 tot en met 9 eenmaal een sprite maakt kan je ze eindeloos gebruiken!&lt;br /&gt;
Een leuke&amp;nbsp;bijkomstigheid&amp;nbsp;is dat je ook andere vormen als sprite kunt aanmaken en laten zien op het display. Later als we vorderingen maken met de klok kom ik hierop terug.&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;Sprites aanmaken in de software.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
De Arduino werkt met de Atmel mega 328 processor. Deze werkt met 8 bits (byte) informatie en elke geheugenplaats neemt hierdoor 8 bits(byte) in beslag.&lt;br /&gt;
Alle bewerkingen(de programma opdrachten ofwel de syntax genoemd) hebben betrekking op het manipuleren van deze 8 bits.&lt;br /&gt;
Willen we sprites aanmaken dan moeten we dus een groepje van 7 bytes vullen met enen en nullen overeenkomstig het cijfer dat we willen maken.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Opmerking we zijn een beetje aan het verspillen want we hebben per byte 5 bits nodig !!&lt;/li&gt;
&lt;/ul&gt;Het aanmaken van de sprites gaat als volgt:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;stap 1 het reserveren van de geheugenruimte&lt;/li&gt;
&lt;li&gt;stap 2 het vullen van de geheugenplaatsen met de juiste nullen en enen&lt;/li&gt;
&lt;/ul&gt;reserveren van de geheugenruimte &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t Fig5[7];&lt;/span&gt;&lt;br /&gt;
vullen van de geheugenplaatsen &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;Fig5[0] = B11110;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fig5[1] = B00010;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fig5[2] = B00010;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fig5[3] = B01110;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fig5[4] = B10000;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fig5[5] = B10000;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fig5[6] = B01110;&lt;/span&gt;&lt;br /&gt;
Met deze wijsheid in pacht zullen we eens gaan proberen of we werkelijk het cijfer 5 op het display kunnen krijgen !&lt;br /&gt;
Dus eerst maar even terug naar het schema en kijken hoe we het display aan moeten sluiten op de Arduino.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqwgjDK7eDT3HBc2p_0agFnCAXlyZMt-pIqByH4mjkSDcS5fDmPeRy7m80_AiNlkwOYAtmn7BX1e3nZRG616yzfG4EwmNIvmRDYV1QGtnFO3DFQDBaZbnOd5jGtxxS-cRLeY6aVyoBhD0/s1600/shure+schema.GIF&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;319&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqwgjDK7eDT3HBc2p_0agFnCAXlyZMt-pIqByH4mjkSDcS5fDmPeRy7m80_AiNlkwOYAtmn7BX1e3nZRG616yzfG4EwmNIvmRDYV1QGtnFO3DFQDBaZbnOd5jGtxxS-cRLeY6aVyoBhD0/s320/shure+schema.GIF&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;Als dit gelukt is gaan we het programma schrijven. Start de Pc en laad de Arduino programmeer omgeving.&lt;br /&gt;
Kopieer&amp;nbsp;onderstaand programma en compuleer en upload het naar het Arduino board !&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;/*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;HamKlok One uitleg sprite&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Sure 2416 display 24*16 leds&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;pa0akv 2010&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-----------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Historie&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;versie 0.0 oktober 2010&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-----------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*/&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Eerst even de juiste bibliotheken ophalen&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Sure libraries&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;#include &quot;MatrixDisplay.h&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;#include &quot;DisplayToolbox.h&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;#include &amp;lt;WProgram.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Het display heeft nog wat aanvullende info nodig&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Easy to use function&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;#define setMaster(dispNum, CSPin) initDisplay(dispNum,CSPin,true)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;#define setSlave(dispNum, CSPin) initDisplay(dispNum,CSPin,false)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// We hebben maar 1 display! De bibliotheek kan er meer aansturen&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// 1 = Number of displays&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Data = 10&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// WR == 11&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// False - we dont need a shadow buffer for this example. saves 50% memory!&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Initaliseer Shure display met juiste aansluitingen!&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;MatrixDisplay disp(4,11,10, false);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Pass a copy of the display into the toolbox&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;DisplayToolbox toolbox(&amp;amp;disp);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// In totaal 3 groepen van 8 leds = 24&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// De eerste is positie 0 de laatste = 23&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Twee groepen hoog dus rechts boven is 0&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Rechts onder is dan 15&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t X_MAX = 23;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t Y_MAX = 15;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Dit voorbeeld heeft 1 Array Fig5 !&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;uint8_t Fig5[7];&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;void setup()&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;disp.setMaster(0,4);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;// Opbouwen van de sprite !&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig5[0] =&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt; B11111;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig5[1] =&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt; B00001;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig5[2] = &lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;B00001;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig5[3] =&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt; B01111;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig5[4] =&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt; B10000;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig5[5] = &lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;B10000;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Fig5[6] = &lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;B01111;&lt;/span&gt; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Hier begint het eigenlijke programma !&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;void loop()&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;{&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;shiftIt(Fig5[i],1,1+i);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Hier eindigd het eigenlijke programma !&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;/*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Functie voor het opbouwen van de sprite&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;deze functie wordt elke keer opgeroepen&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;als we een cijfer op het display zetten&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;opgave welke sprite SpriteIn&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;en de plaats op het display 0,0 Xin,Yin&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*/&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;void shiftIt(byte SpriteIn,int Xin,int Yin)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;// Shift out 8 bits LSB first&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;boolean LedStatus;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;// for each bit in SpriteIn test a bit&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;for (int i=0; i&amp;lt;5; i++)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;// if the value of SpriteIn and (logical AND) a bitmask&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;// are true, set LedStatus to 1 (HIGH)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if ( SpriteIn &amp;amp; (1&amp;lt;&amp;lt;i) )&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;LedStatus = HIGH;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;toolbox.setPixel(Xin+i, Yin, LedStatus, true);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;else&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;LedStatus = LOW;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;toolbox.setPixel(Xin+i, Yin, LedStatus, true);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;} &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu1MGs8NF05PX_3ozbONSP-5y9JCopcqFcmEwE7gMOxg0ZkszCQdMlJlGYbnho80TljqsfJlC1hNSdw_SIFcrbAG9Rre0X_PSDLJ2wxLNLLVPyZxj5XNEjUuYed_ArRxdXaiatS-ykAJY/s1600/blog_cijfer-5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu1MGs8NF05PX_3ozbONSP-5y9JCopcqFcmEwE7gMOxg0ZkszCQdMlJlGYbnho80TljqsfJlC1hNSdw_SIFcrbAG9Rre0X_PSDLJ2wxLNLLVPyZxj5XNEjUuYed_ArRxdXaiatS-ykAJY/s320/blog_cijfer-5.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;Het resultaat moet er zo uitzien.&lt;br /&gt;
Ook kunnen we natuurlijk losse leds aansturen op het display met de volgende commando&#39;s:&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; toolbox.setPixel(12,2,1,true);&lt;/span&gt;&lt;br /&gt;
Hierbij gaat het ledje 13 posities van links en 3 van boven aan !&lt;br /&gt;
of uit met&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;toolbox.setPixel(12,2,0,true);&lt;/span&gt;&lt;br /&gt;
Speel maar eens met zowel de sprite instellingen als het setPixel commando.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Hier begint het eigenlijke programma !&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;void loop()&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;{&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;for (int i = 0; i &amp;lt; 7; i ++)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;shiftIt(Fig5[i],&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;1&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;,&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;1&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;+i);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;toolbox.setPixel(&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;12,2,1&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;,true);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Hier eindigd het eigenlijke programma !&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
Zo dat was wel even genoeg voor deze keer ! Oh ja, en wie bedenkt even een leuke sprite en geeft mij een berichtje ?&lt;br /&gt;
&lt;br /&gt;
Succes met de spelerij !!&lt;br /&gt;
&lt;div&gt;P.S. de sprite 5 is door mij naderhand aangepast zodat er werkelijk een 5 maal 7 cijfer ontstaat !&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pa0akv.blogspot.com/feeds/7630091137265875605/comments/default' title='Reacties posten'/><link rel='replies' type='text/html' href='http://pa0akv.blogspot.com/2010/11/hamklok-one-vervolg-3.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/7630091137265875605'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/7630091137265875605'/><link rel='alternate' type='text/html' href='http://pa0akv.blogspot.com/2010/11/hamklok-one-vervolg-3.html' title='HamKlok One vervolg 3'/><author><name>André Koopman</name><uri>http://www.blogger.com/profile/10516334299819036808</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgk98YopW98rAQkrgRd3uSr2_U27TMDRAvD1kP3Lx1GXoukZxiaE1u1-yyEZUD9FZsrjajEL5wAxyVR4NHfdyVgBSREUN7Rp4uxXxkJGkKmIf-wwuAv7d4EnO1yrb2Y8auCbqcYOzBQl_w/s72-c/display.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288861977151022624.post-2026946230032477029</id><published>2010-11-10T10:49:00.000-08:00</published><updated>2010-11-10T12:31:27.011-08:00</updated><title type='text'>HamKlok One vervolg 2</title><content type='html'>Nu we de hardware zo goed als klaar hebben lijkt het verstandig om eens te gaan kijken of we de Arduino met zijn microprocessor aan het werk kunnen krijgen.&lt;br /&gt;
We beginnen simpel, nou ja simpel, we beginnen met zo min mogelijk inspanning en zoveel mogelijk resultaat.&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;KLOK uitlezen methode 1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
Tijdens deze eerste stap gaan we de klok( RTC ) opstarten met een beginwaarde.&lt;br /&gt;
Daarna starten we de klok&lt;br /&gt;
Daarna gaan we de klok elke seconde uitlezen en presenteren de tijd en datum nog niet op het display maar in een speciaal venstertje op de PC.&lt;br /&gt;
Het klok IC geeft de volgende informatie : 10:12:44 19-9-2010 en de dag van de week 1-7.&lt;br /&gt;
Om de klok vanaf een bepaald moment te laten beginnen moet de beginwaarde naar het klok IC gestuurd worden. ( dit hoeft maar eenmalig te gebeuren !)&lt;br /&gt;
Door het gebruik van de back-up batterij blijft de info daarna 3 jaar bewaard!&lt;br /&gt;
Om dit alles voor elkaar te krijgen moeten we een programma in de Arduino laden wat we zelf moeten schrijven.&lt;br /&gt;
Om een programma te schrijven moeten we de Arduino programmeer omgeving op de pc installeren. Hiervoor moeten we de software ophalen bij&amp;nbsp;&lt;a href=&quot;http://www.arduino.cc/&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;Arduino software&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;of bij&amp;nbsp;&lt;a href=&quot;http://www.arduino.nu/&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;Arduino informatie&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&amp;nbsp;bij de laatste is ook een schitterend programmeer manual en een werkboek aanwezig waaruit veel valt te leren!!!&lt;br /&gt;
(KLIK op gele gedeelte voor download !)&lt;br /&gt;
&lt;br /&gt;
Als dit gelukt is kan je vanaf nu minimaal dit..... op je pc scherm verwachten.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZr0BhuZVgUWJitPumjDEAmKRBHSuugforJGiIFYCsBbHjaWLBr7IYf9ISeJdM_fu0Ttz2tmLxDnwszh_-1mA5PkuLpQJc5bZ77haAZuSFxbkCJrfGnFTAzvpE9Qn26eURsD4pMxyNfPk/s1600/leeg-scherm.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZr0BhuZVgUWJitPumjDEAmKRBHSuugforJGiIFYCsBbHjaWLBr7IYf9ISeJdM_fu0Ttz2tmLxDnwszh_-1mA5PkuLpQJc5bZ77haAZuSFxbkCJrfGnFTAzvpE9Qn26eURsD4pMxyNfPk/s200/leeg-scherm.jpg&quot; width=&quot;150&quot; /&gt;&lt;/a&gt;in het witte gedeelte moet het programma geschreven worden waarbij een aantal spelregels gelden. Deze spelregels hebben betrekking op de programma opbouw en op de programma syntax (de opdrachten/commando&#39;s). Het hiervoor genoemde programma manual is echt een aanrader om dit deel onder de knie te krijgen.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;Het programma&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Het is een goede gewoonte om met commentaar te beginnen:&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;/*Leest het RTC ic van Dallas DS1307 en stuur info naar terminal venster.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*Naar een idee van &amp;nbsp;D. Sjunnesson 1scale1.com d.sjunnesson (at) 1scale1.com&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*Let wel op dat de bibliotheken (de .h bestanden !) voorkomen in de libraries folder&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;*Zo niet ophalen bij www.arduino.cc en naar deze folder copieren !!!&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;*/&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Nu komt een stukje waarbij we aangeven van welke bibliotheken we gebruik maken.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Een bibliotheek bestaat uit voorgebakken code geschikt voor hergebruik.&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Kijk hier wordt de bibliotheek aangesproken!&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;#include &amp;lt;WProgram.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;#include &amp;lt;Wire.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;#include &amp;lt;DS1307.h&amp;gt; // written by &amp;nbsp;mattt on the Arduino forum and modified by D. Sjunnesson&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Nu een blokje wat eenmalig wordt doorlopen, in dit geval voornamelijk bedoeld om het terminal venster te activeren en de klok gelijk te zetten.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;// Dit is het deel wat eenmalig wordt doorlopen&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;void setup()&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;//Eerst even het terminal venster opstarten!!&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Serial.begin(9600);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;//gelijk zetten van de klok&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;//dit eenmalig naar Arduino bordje sturen !!&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;//bij testen de tweede maal regels als commentaar zetten!&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;RTC.stop();&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;RTC.set(DS1307_SEC,50); //seconden&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;RTC.set(DS1307_MIN,14);//minuten&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;RTC.set(DS1307_HR,20); &amp;nbsp;//uren&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;RTC.set(DS1307_DOW,3);//dag van de week&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;RTC.set(DS1307_DATE,10);//dag van de maand&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;RTC.set(DS1307_MTH,11);//maand&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;RTC.set(DS1307_YR,10);//jaar&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;RTC.start();&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;En het eigenlijke programma, het ophalen van de informatie en presenteren in het terminal venster.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;//Hier begint het eigenlijke programma!&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;void loop()&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Serial.print(RTC.get(DS1307_HR,true)); //haal uur op en stuur naar terminalvenster&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Serial.print(&quot;:&quot;);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Serial.print(RTC.get(DS1307_MIN,false));//haal minuten op en stuur naar terminalvenster&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Serial.print(&quot;:&quot;);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Serial.print(RTC.get(DS1307_SEC,false));//haal seconden op en stuur naar terminalvenster&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Serial.print(&quot; &amp;nbsp; &amp;nbsp; &amp;nbsp;&quot;); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // ruimte maken&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Serial.print(RTC.get(DS1307_DATE,false));//haal datum op en stuur naar terminalvenster&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Serial.print(&quot;/&quot;);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Serial.print(RTC.get(DS1307_MTH,false));//haal maand op en stuur naar terminalvenster&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Serial.print(&quot;/&quot;);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Serial.print(RTC.get(DS1307_YR,false)); //read year&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Serial.print(&quot; &amp;nbsp; &amp;nbsp; &quot;);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Serial.print(RTC.get(DS1307_DOW,false)); //haal weeekdag op en stuur naar terminalvenster&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;Serial.println();&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;&amp;nbsp;&amp;nbsp;delay(1000); //1000 usec wachten&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Als je de gekleurde delen overneemt naar het witte deel in het Arduino venster is het programma geschreven.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Waarschijnlijk klopt de tijd en datum niet maar die kan jezelf in het setup deel veranderen.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;De volgende stap is het uploaden naar het Arduino printje. Als de usb kabel is aangesloten is het uploaden simpel druk op de upload knop&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDjxb8dT4ha0skRDTrLsQsicEbhAInSzFIFzpyd-nEhor1axWD3N0WR5jISXYUqfhzxHDinNY9cxNNqyoe9TQ216iI_gPHsTB4Ot0dLDOYEani1ZSibNag6ukVLbxzEnlHnYqWWQmBsYs/s1600/Start-upload.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDjxb8dT4ha0skRDTrLsQsicEbhAInSzFIFzpyd-nEhor1axWD3N0WR5jISXYUqfhzxHDinNY9cxNNqyoe9TQ216iI_gPHsTB4Ot0dLDOYEani1ZSibNag6ukVLbxzEnlHnYqWWQmBsYs/s320/Start-upload.jpg&quot; width=&quot;266&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;en na een minuut of zo zie je DONE UPLOADING. op je pc scherm.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGMhFMokRCiaNSewM6dPO-ltHFDyNcXXkdhBEEM0OALXG6nLNfT_fqWE4IvQ57C43X2Dl8VZRR9K-aKZAWlwaAtVCIxhNOgJ2jEFPM1KeyUm-lBJK1MEifGfFeTyQVdmkuHUyQj7EbcPE/s1600/Upload-done.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGMhFMokRCiaNSewM6dPO-ltHFDyNcXXkdhBEEM0OALXG6nLNfT_fqWE4IvQ57C43X2Dl8VZRR9K-aKZAWlwaAtVCIxhNOgJ2jEFPM1KeyUm-lBJK1MEifGfFeTyQVdmkuHUyQj7EbcPE/s320/Upload-done.jpg&quot; width=&quot;266&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Nu kijken of alles werkt, door het terminal venster te openen.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYHlngFrX8aasbBhQppUudrd555ZHiIm5SXHFMG6I3UNVP-T8tznCDviSqaXmN3NCAYLK4-hSDcKfxxI7Zje1V7TwfyBfkrtWBUZEo4C42FHGUS0Qa20oosPqQx3pqdhS3vdFuOdvnVxc/s1600/terminal-start.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYHlngFrX8aasbBhQppUudrd555ZHiIm5SXHFMG6I3UNVP-T8tznCDviSqaXmN3NCAYLK4-hSDcKfxxI7Zje1V7TwfyBfkrtWBUZEo4C42FHGUS0Qa20oosPqQx3pqdhS3vdFuOdvnVxc/s320/terminal-start.jpg&quot; width=&quot;266&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;En als alles goed gaat is dit het resultaat!&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEmArG-ebMiB7rr4lfUHxAIFxuJBk9STbltlF-EMA3vD_5HrQqlabytxux-i-rizKSuDVnoxrI_ZGt6aC9bCIwbPn3eREJa6kOO3NX_Gq71ADhrJJTOwZ16C4jGlwqmK89PVFgO-xRAiY/s1600/terminal-output.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;281&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEmArG-ebMiB7rr4lfUHxAIFxuJBk9STbltlF-EMA3vD_5HrQqlabytxux-i-rizKSuDVnoxrI_ZGt6aC9bCIwbPn3eREJa6kOO3NX_Gq71ADhrJJTOwZ16C4jGlwqmK89PVFgO-xRAiY/s320/terminal-output.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Dit brengt ons bij het einde van de eerste methode,de klok RTC werkt.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Met dit eerste succes kunnen we verder bouwen ! En de uitgelezen tijd naar het LED display sturen. Maar voordat we daar aan beginnen eerst maar een nachtje slapen !&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigl0vAF_DrH9VFXqwdR9Y4z3Jk8vxK5xfd_8JhRm_5TSsd9T0mM30sCzAzsLLImvSLcOOPazTBVjtTjeb3EHbAGEphhIU0GWVGFVSbDf6gQMm1XcSTi2oy-XqKQ4h3Fj_YBjk-PZy-FVM/s1600/RTC-basis.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigl0vAF_DrH9VFXqwdR9Y4z3Jk8vxK5xfd_8JhRm_5TSsd9T0mM30sCzAzsLLImvSLcOOPazTBVjtTjeb3EHbAGEphhIU0GWVGFVSbDf6gQMm1XcSTi2oy-XqKQ4h3Fj_YBjk-PZy-FVM/s320/RTC-basis.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pa0akv.blogspot.com/feeds/2026946230032477029/comments/default' title='Reacties posten'/><link rel='replies' type='text/html' href='http://pa0akv.blogspot.com/2010/11/hamklok-one-vervolg-2.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/2026946230032477029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/2026946230032477029'/><link rel='alternate' type='text/html' href='http://pa0akv.blogspot.com/2010/11/hamklok-one-vervolg-2.html' title='HamKlok One vervolg 2'/><author><name>André Koopman</name><uri>http://www.blogger.com/profile/10516334299819036808</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZr0BhuZVgUWJitPumjDEAmKRBHSuugforJGiIFYCsBbHjaWLBr7IYf9ISeJdM_fu0Ttz2tmLxDnwszh_-1mA5PkuLpQJc5bZ77haAZuSFxbkCJrfGnFTAzvpE9Qn26eURsD4pMxyNfPk/s72-c/leeg-scherm.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288861977151022624.post-3237316045061847151</id><published>2010-11-08T11:18:00.000-08:00</published><updated>2010-11-11T07:15:53.795-08:00</updated><title type='text'>HamKlok One vervolg1</title><content type='html'>De onderdelen zijn beschreven en nu kunnen we ons concentreren op de werkelijke invulling van het geheel.&lt;br /&gt;
We beginnen met het&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt; &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;klok deel.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAV99LaP7mRVdnVuLw5NvWteAQNoLvOMxqpwS6GGGEo2XuVVDxAd4Zf-ChgL_cx4dTDWFFHtw716W9xUp4JZ_VRQ7dfumw0TvrxkOkgBtZMVdv0QReT7zvBGXW3q8WChpkto9lA3FIm0w/s1600/rtc+schema.GIF&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;215&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAV99LaP7mRVdnVuLw5NvWteAQNoLvOMxqpwS6GGGEo2XuVVDxAd4Zf-ChgL_cx4dTDWFFHtw716W9xUp4JZ_VRQ7dfumw0TvrxkOkgBtZMVdv0QReT7zvBGXW3q8WChpkto9lA3FIm0w/s1600/rtc+schema.GIF&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;klik op schema om te vergroten !&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;De beide uitgangen van de klok SCL en SDA gaan naar deArduino analoge pin 5 en 4 aansluiting. Niet dat dit analoge signalen zijn maar binnen de Arduino kunnen deze pinnen ook als I2C bus aansluitingen gebruikt worden. Voor nu even niet van belang om te weten wat I2C is, maar in detail komen we hierop terug bij de software bespreking.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;De OUT aansluiting kan een 1 seconde puls genereren (ook weer onder software controle) nu gebruiken we deze aansluiting om als digitaal signaal de Arduino van een 1 Hz puls te voorzien .&lt;/div&gt;&lt;br /&gt;
Het volgende deel heeft betrekking op het &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;SHURE Display.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; Niet veel over te vertellen want alle 8*8*8 led&#39;s laten zich via 3 lijntjes besturen:&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;CS dit is de z.g.n. Chip Select aansluiting waarmee het gehele display actief wordt ( het is mogelijk meerdere van deze displays aan te sturen !)&lt;/li&gt;
&lt;li&gt;WR dit is de Write aansluiting en hiermee geven we aan dat we informatie naar het display willen wegschrijven.&lt;/li&gt;
&lt;li&gt;DATA dit is de actuele waarde ( lees ledje aan/uit ) welke we willen aansturen.&lt;/li&gt;
&lt;/ol&gt;Door deze opstelling is het schema erg eenvoudig !&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigmisT8D2eir3_uebhf6thuCQZm_MPuiL_FzLhnZj67GHt2ogbQqRmh-QGgDbGz2EXvx2uf5R8UEyYvHVb-AbKW-aCVj3BujtbbumO0QPaPEwDe1lQL4WAj3_eRB5J3gSbIFgwW7TKDRg/s1600/shure+schema.GIF&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;319&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigmisT8D2eir3_uebhf6thuCQZm_MPuiL_FzLhnZj67GHt2ogbQqRmh-QGgDbGz2EXvx2uf5R8UEyYvHVb-AbKW-aCVj3BujtbbumO0QPaPEwDe1lQL4WAj3_eRB5J3gSbIFgwW7TKDRg/s320/shure+schema.GIF&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;klik om te vergroten !&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Wat overblijft zijn nog wat &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;schakelaartjes&lt;/span&gt;&lt;/span&gt; voor o.a. het gelijk zetten van de klok.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBedP9v80eeENyziRF8W3_xtlVJtfmGKoewDKU_ix9ReHChIkEnocKRQy7lOLpLn13TEBa8UddChJej6zOlRqNcn-GdQ0vvmbdeBBSg8dwQRvKTtDkbS8kc6PaBT-YfUXIwiB-SYMZcTc/s1600/schakelaars.GIF&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;167&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBedP9v80eeENyziRF8W3_xtlVJtfmGKoewDKU_ix9ReHChIkEnocKRQy7lOLpLn13TEBa8UddChJej6zOlRqNcn-GdQ0vvmbdeBBSg8dwQRvKTtDkbS8kc6PaBT-YfUXIwiB-SYMZcTc/s320/schakelaars.GIF&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;klik om te vergroten !&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVkfYo9TaGMKROrXIJZlp_lta5VY-R16d4bbUU77RFTeB6lyfJSA4iYvxIg4BVaE7oGYL9XdgmdwnObCTfbfx958aYzIYN_BONokzZWD-aKBsE3IgblGuanvq1uRL1j0GM_F5LcEESzgc/s1600/foto+schakelaars.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVkfYo9TaGMKROrXIJZlp_lta5VY-R16d4bbUU77RFTeB6lyfJSA4iYvxIg4BVaE7oGYL9XdgmdwnObCTfbfx958aYzIYN_BONokzZWD-aKBsE3IgblGuanvq1uRL1j0GM_F5LcEESzgc/s320/foto+schakelaars.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;In de Arduino zijn veel mogelijkheden om schakelaars aan te sluiten hierdoor is het schema erg eenvoudig !&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;We maken via software gebruik van het z.g.n. pull up weerstand principe. Hierdoor hangt een &quot;open contact&quot; aan de 5 volt en schakelen we naar massa !&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaUhrdy0CouVeX9g_Z6nKFrlEpO_AhKljdNfTjRVWHW0rChy21iIAS_qf_Yr7kRNBfG4VNU6uzicPglLw54ujbutR9NTt2dtYObjxEk_TkggQQ-hqhp3iJoWaDPuGiDRWDjpSplhIPC74/s1600/pull+up+principe.GIF&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;190&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaUhrdy0CouVeX9g_Z6nKFrlEpO_AhKljdNfTjRVWHW0rChy21iIAS_qf_Yr7kRNBfG4VNU6uzicPglLw54ujbutR9NTt2dtYObjxEk_TkggQQ-hqhp3iJoWaDPuGiDRWDjpSplhIPC74/s320/pull+up+principe.GIF&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;klik om te vergroten !&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Nu moet het geheel nog aan de Arduino geknoopt worden!&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;Eerste concept schema HamKlok One&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEFbMYi3bLNjyawnYDaLVyC5Gwde5KN89NtA_0dzTZnr51uzowq8UGCdgQccVfEwVodoClItNIyHvK2nXYNagqnIdTG1TtjUpYSQGvBwgqr61AlPbnTJMfC8u1UocgZlr8nMTKv4MZLQs/s1600/klok+totaal+1.GIF&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEFbMYi3bLNjyawnYDaLVyC5Gwde5KN89NtA_0dzTZnr51uzowq8UGCdgQccVfEwVodoClItNIyHvK2nXYNagqnIdTG1TtjUpYSQGvBwgqr61AlPbnTJMfC8u1UocgZlr8nMTKv4MZLQs/s320/klok+totaal+1.GIF&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;klik om te vergroten !&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pa0akv.blogspot.com/feeds/3237316045061847151/comments/default' title='Reacties posten'/><link rel='replies' type='text/html' href='http://pa0akv.blogspot.com/2010/11/hamklok-one-vervolg1.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/3237316045061847151'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/3237316045061847151'/><link rel='alternate' type='text/html' href='http://pa0akv.blogspot.com/2010/11/hamklok-one-vervolg1.html' title='HamKlok One vervolg1'/><author><name>André Koopman</name><uri>http://www.blogger.com/profile/10516334299819036808</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAV99LaP7mRVdnVuLw5NvWteAQNoLvOMxqpwS6GGGEo2XuVVDxAd4Zf-ChgL_cx4dTDWFFHtw716W9xUp4JZ_VRQ7dfumw0TvrxkOkgBtZMVdv0QReT7zvBGXW3q8WChpkto9lA3FIm0w/s72-c/rtc+schema.GIF" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288861977151022624.post-6558240843713870166</id><published>2010-11-07T08:22:00.000-08:00</published><updated>2010-11-11T07:18:56.304-08:00</updated><title type='text'>HamKlok One</title><content type='html'>Ok ik begrijp de chaos die ik heb&amp;nbsp;gecreëerd. Beginnen met een moeilijk project een beetje info geven over de Arduino en dan opeens onderdelen van een klok beschrijven. Niet veel structuur zal ik maar zeggen !&lt;br /&gt;
&lt;br /&gt;
Maar het wordt beter want ik heb besloten dit project opnieuw te starten en dan stap voor stap de verschillende delen van dit project uiteen te zetten in een soort vervolg verhaal. Afhankelijk van mijn vorderingen zal duidelijk worden hoe een en ander verloopt.&lt;br /&gt;
&lt;br /&gt;
En ja er zit een microprocessor in het project maar alles, dus ook de programmeer omgeving is open source, is voor een kleine beurs toegankelijk. En moeilijk ? Ja en Nee gewoon proberen en vragen als je iets niet begrijpt!!&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;Wat wil ik met dit project bereiken ?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
Een hamklok met groot afleesbare tekens waarbij tevens de temperatuur en luchtvochtigheid wordt getoond.&lt;br /&gt;
Verder is het leuk als er de tijd voor verschillende tijdzones gekozen kan worden.&lt;br /&gt;
Verdere opties zijn een r.f. link naar het weerstation (433,600 Mhz) zodat in de klok windrichting en windsnelheid kan worden afgelezen.&lt;br /&gt;
In de toekomst de mogelijkheid om de totale functionaliteit van de klok via het WEB te benaderen door het inbouwen van een webserver....&lt;br /&gt;
&lt;blockquote&gt;En verder was er nog een grapjas die middels een PIR sensor en een MP3 bestand een gesproken tijd wou laten afspelen. In de trant van als er iemand in de buurt van de klok komt dat de klok zegt &quot;het is tien uur drie , het is koud en ga nu maar naar bed.. einde bericht&quot;&lt;/blockquote&gt;Maar alle gekheid op een stokje eerst maar gewoon een standaard Hamklok.&lt;br /&gt;
Hiervoor gebruiken we drie basis onderdelen:&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;De microprocessor, welke het brein gaat vormen.&lt;/li&gt;
&lt;li&gt;Het display, in dit geval 6 blokjes met 8* 8 LED&#39;s (fabrikaat Shure)&lt;/li&gt;
&lt;li&gt;De eigenlijke klok welke is opgebouwd met het Dallas IC RT1307&lt;/li&gt;
&lt;/ol&gt;Het lijkt heel wat maar het valt wel mee. De processor is kant en klaar te koop en afhankelijk van het geduld kun je hier aankomen voor nog geen 19 dollar of in Nederland voor ongeveer 30,00 euries.&lt;br /&gt;
Het display is via Ebay te koop en kost je 12,50 dollar en heb je in 2 weken in huis.&lt;br /&gt;
De klok (Real Time Clock afgekort RTC ) maken we lekker zelf en kost minder dan 10 euries.&lt;br /&gt;
&lt;br /&gt;
Dus het hele basis apparaat gaat niet meer dan 50,00 euro kosten.&lt;br /&gt;
Na afloop heb je veel geleerd en een klok die op 3 meter afstand is af te lezen !!!&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;Even voorstellen : Het Arduino processor printje&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
Het printje bestaat uit :&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;de voeding&lt;/li&gt;
&lt;li&gt;de processor&lt;/li&gt;
&lt;li&gt;seriële&amp;nbsp;communicatie chip (virtuele COM poort) met behulp van USB chip&lt;/li&gt;
&lt;li&gt;diverse aansluitingen voor digitale en analoge zaken&lt;/li&gt;
&lt;/ul&gt;Verder is het mogelijk via I2C,one wire met de processor te communiceren maar daar kom ik later op terug.&lt;br /&gt;
Hieronder de layout van het printje.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiugZnBrChfa2Hrw31fw00cg6vEVuGhmF-8CoSlLsAz3jNepqnSJJH9rjP9m3efca4x7vbk9TsWsqB2fmOmhTCUCeht4IQSCwI1OhgvPHNONTnQ_ZhRT_Ev1PWyGBt7uA9gqDU83Kjm7ak/s1600/Arduino+layout+1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;224&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiugZnBrChfa2Hrw31fw00cg6vEVuGhmF-8CoSlLsAz3jNepqnSJJH9rjP9m3efca4x7vbk9TsWsqB2fmOmhTCUCeht4IQSCwI1OhgvPHNONTnQ_ZhRT_Ev1PWyGBt7uA9gqDU83Kjm7ak/s320/Arduino+layout+1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;en zo ziet dat er in werkelijkheid uit.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmaum3ggq7WvZP8n0uWHXMaD3a2oGuqXiN9kuqY7lRrVViAqLxBIZXHQQXVycFag9IHNotNHxLHQ1AVP-1eio-qCgz9bwHOZXjzjoN0JLXnx_sLmoe29b3qGxcyj99R_7D2xPwS1Z80_g/s1600/foto+Arduino.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmaum3ggq7WvZP8n0uWHXMaD3a2oGuqXiN9kuqY7lRrVViAqLxBIZXHQQXVycFag9IHNotNHxLHQ1AVP-1eio-qCgz9bwHOZXjzjoN0JLXnx_sLmoe29b3qGxcyj99R_7D2xPwS1Z80_g/s1600/foto+Arduino.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Dit is het hart van het project ! Links boven de USB aansluiting en rechtsonder de microprocessor. Links naast het kristal zit de omzetter die ervoor zorgt dat we de microprocessor als virtuele COM poort kunnen benaderen!&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Alles wat betrekking heeft op de Arduino , dus ook alle gratis software, kan je vinden op&amp;nbsp;&lt;a href=&quot;http://www.arduino.cc/&quot;&gt;http://www.arduino.cc/&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;als je een printje wilt bemachtigen dan kan dat in Nederland bij b.v&amp;nbsp;&lt;a href=&quot;http://www.eztronics.nl/&quot;&gt;http://www.eztronics.nl/&lt;/a&gt;, &lt;a href=&quot;http://www.antratek.nl/&quot;&gt;http://www.antratek.nl/&lt;/a&gt;&amp;nbsp;, &lt;a href=&quot;http://iprototype.nl/&quot;&gt;http://iprototype.nl/&lt;/a&gt;&amp;nbsp;maar er&amp;nbsp;zijn meer aanbieders! Ook via Ebay gaat het goed maar dan moet je iets meer geduld hebben ( 10 tot 20 dagen). Daar zijn vele clones te koop voor vaak minder dan 20 euro inclusief verzend kosten. Momenteel is er de UNO&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhl9m8vzSBcEaT_Se5vbWkXUMPoMR-xkOpIwk2QGjl44VLhTcBwLbAKCrJ708IpZ0G0HyCw91PWnS34yXMSITrmSOKlMWptI9KaCoYYKQTszKzk_1aU1Pw-mmgYccyrOsm_YSNIh1TW7n0/s1600/arduino_uno+afbeelding.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhl9m8vzSBcEaT_Se5vbWkXUMPoMR-xkOpIwk2QGjl44VLhTcBwLbAKCrJ708IpZ0G0HyCw91PWnS34yXMSITrmSOKlMWptI9KaCoYYKQTszKzk_1aU1Pw-mmgYccyrOsm_YSNIh1TW7n0/s320/arduino_uno+afbeelding.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;maar voor ons project voldoen ze allemaal !&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Om leven in het printje te krijgen is voedingspanning nodig. Een 9 volt 200mA voeding is ruim voldoende, zelf heb ik meestal genoeg aan de voeding die rechtstreeks uit de USB poort van de computer komt!&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Later als de klok gaat vorderen is het misschien beter om een voeding van 500mA aan te sluiten.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Oh ja het printje is beveiligd tegen polariteits wisseling op de voedingsconnector maar &lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;niet op de 9V pin op de onderste aansluitrij !!!!!!&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Het tweede element van de klok is het display dit is een via Ebay te verkrijgen gigant n.l. de SHURE&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: small;&quot;&gt;&lt;b id=&quot;mainContent&quot;&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;h1 class=&quot;vi-is1-titleH1&quot; style=&quot;color: #333333; font-family: Trebuchet, &amp;quot;Trebuchet MS&amp;quot;; font-size: 18px; font-weight: bold; line-height: normal; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;b id=&quot;mainContent&quot;&gt;24×16 2416 Dot Matrix Green Display info Board Arduino&lt;/b&gt;&lt;/h1&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTK8b72svmoKH2FV1LQSyRHwfHldqPrYAGMknYVxo3oSERCtdf0k0AmD04PYUgkkurLNl78ngdnZIYNhzBzB-iQY53lhPyKGB1-Z_yXxrZk1NLM8ulw9dzvdcGM0osT3aUzYCdh79WAF8/s1600/display.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;250&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTK8b72svmoKH2FV1LQSyRHwfHldqPrYAGMknYVxo3oSERCtdf0k0AmD04PYUgkkurLNl78ngdnZIYNhzBzB-iQY53lhPyKGB1-Z_yXxrZk1NLM8ulw9dzvdcGM0osT3aUzYCdh79WAF8/s320/display.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Ik heb zelf een rode gekozen maar dat maakt verder geen verschil.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Het laatste deel is de RTC real time clock. Hiervoor heb ik een apart printje gemaakt op basis van een Dallas DS1307 en een 32 khz kristal (ook via Ebay, voor de eerste paar liefhebbers heb ik er nog wel een !)&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit8a3fDfg2_ci7BH930tV-uZ1F2zTniTJpaCgRjRI46f70Nq5-ZzEp2KKCpTPX47ztMnA1AdxpR8xyekkfjM0ECBfE-kgRRxx5rSqKEJTdCpR_YCgJFT3vNgjhTyg0nmRWjCz7vzis3Pk/s1600/RTC.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit8a3fDfg2_ci7BH930tV-uZ1F2zTniTJpaCgRjRI46f70Nq5-ZzEp2KKCpTPX47ztMnA1AdxpR8xyekkfjM0ECBfE-kgRRxx5rSqKEJTdCpR_YCgJFT3vNgjhTyg0nmRWjCz7vzis3Pk/s320/RTC.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Het printje meet 4 bij 6 cm en de meeste ruimte neemt de batterij in ! Het kleine piefje boven het IC is het klokkristalletje !&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pa0akv.blogspot.com/feeds/6558240843713870166/comments/default' title='Reacties posten'/><link rel='replies' type='text/html' href='http://pa0akv.blogspot.com/2010/11/hamklok-one.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/6558240843713870166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/6558240843713870166'/><link rel='alternate' type='text/html' href='http://pa0akv.blogspot.com/2010/11/hamklok-one.html' title='HamKlok One'/><author><name>André Koopman</name><uri>http://www.blogger.com/profile/10516334299819036808</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiugZnBrChfa2Hrw31fw00cg6vEVuGhmF-8CoSlLsAz3jNepqnSJJH9rjP9m3efca4x7vbk9TsWsqB2fmOmhTCUCeht4IQSCwI1OhgvPHNONTnQ_ZhRT_Ev1PWyGBt7uA9gqDU83Kjm7ak/s72-c/Arduino+layout+1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288861977151022624.post-1393409553948169826</id><published>2010-11-06T14:02:00.000-07:00</published><updated>2010-11-06T14:02:56.685-07:00</updated><title type='text'>Temperatuur/vochtsensor gearriveerd !</title><content type='html'>Vandaag is de volgende uitbreiding voor de klok gearriveerd! De SHT15 sensor kan zowel temperatuur alsmede de luchtvochtigheid meten.&lt;br /&gt;
Dit kleine blokje van 6mm bij 4mm kan via twee lijnen SCK en DATA met de Arduino communiceren.&lt;br /&gt;
Hieronder even een testopstelling en het resultaat van de meting. Links de Arduino met het sensor shield en rechts de SHT15 sensor shield. Twee kabeltjes verbinden beide shields met elkaar.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEg4EQ_jmwV-1bGcxeQ1RkrrV868LsegrL9t8F18xt6IISvTXtPqzlpV0-mlmrWo7I6qabaV8bXze8CtgTWrrVaWO1sYTTZ_ZR8E6FqbjgscktP39xTFRcnjw7wZQOyYweUdF1FwlVay0/s1600/PICT0095.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEg4EQ_jmwV-1bGcxeQ1RkrrV868LsegrL9t8F18xt6IISvTXtPqzlpV0-mlmrWo7I6qabaV8bXze8CtgTWrrVaWO1sYTTZ_ZR8E6FqbjgscktP39xTFRcnjw7wZQOyYweUdF1FwlVay0/s320/PICT0095.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Een kort programma in de Arduino zend de gegevens via de com poort naar buiten. Via een terminal programma is een en ander zichtbaar.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjA61-F6pU8P8fmgngZT69kdny2yy4myKH6hUbF-VXh1Vrw0qmQO2MGUlc-A5jssuy6oIx499-KWCUqWqk9wkH5YjycNWae6Mc61XXSAoDQ8cK0dVrG4RPPduGIUyw6f3S9B4hsQVvy0OA/s1600/temp+output.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;231&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjA61-F6pU8P8fmgngZT69kdny2yy4myKH6hUbF-VXh1Vrw0qmQO2MGUlc-A5jssuy6oIx499-KWCUqWqk9wkH5YjycNWae6Mc61XXSAoDQ8cK0dVrG4RPPduGIUyw6f3S9B4hsQVvy0OA/s320/temp+output.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Nu dit direct werkt is het handig het project eens goed te gaan documenteren want het aantal gebruikte pinnen binnen de Arduino loopt snel op.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;De volgende stap is dus een schema en lay out maken!&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pa0akv.blogspot.com/feeds/1393409553948169826/comments/default' title='Reacties posten'/><link rel='replies' type='text/html' href='http://pa0akv.blogspot.com/2010/11/temperatuurvochtsensor-gearriveerd.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/1393409553948169826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/1393409553948169826'/><link rel='alternate' type='text/html' href='http://pa0akv.blogspot.com/2010/11/temperatuurvochtsensor-gearriveerd.html' title='Temperatuur/vochtsensor gearriveerd !'/><author><name>André Koopman</name><uri>http://www.blogger.com/profile/10516334299819036808</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEg4EQ_jmwV-1bGcxeQ1RkrrV868LsegrL9t8F18xt6IISvTXtPqzlpV0-mlmrWo7I6qabaV8bXze8CtgTWrrVaWO1sYTTZ_ZR8E6FqbjgscktP39xTFRcnjw7wZQOyYweUdF1FwlVay0/s72-c/PICT0095.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288861977151022624.post-8026068279577317077</id><published>2010-10-31T03:29:00.000-07:00</published><updated>2010-11-06T14:11:05.666-07:00</updated><title type='text'>Real time klok en Sure display vervolg</title><content type='html'>Gisteren het paneeltje met schakelaars gemaakt. Van 5 mm plexiglas 3 lagen op elkaar gelijmt en een opening voor 4 schakelaars uitgefreesd. De onderste laag is bedoeld om de bedrading naar de schakelaars weg te werken.&lt;br /&gt;
Het geheel monteer ik dan voor op het klok front.&lt;br /&gt;
Toch maar voor 4 schakelaars gekozen.&lt;br /&gt;
Menu-doorstappen menu-op-neer. Kan nog veranderen maar nu lijkt het de beste optie.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigdR6dT5CXK8w7z-5pX-kcy9-0N4l3Y1HefNBKc1hWRfWk8Bgj_splAndSm4JWbPA2sK9BoLD6lZywWl1LsoS1w9LKxvksYmbTFah1AQERJ3jQhwKQ4ECIr5OhZObcHoSwxAUQANLDqkw/s1600/PICT0090.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigdR6dT5CXK8w7z-5pX-kcy9-0N4l3Y1HefNBKc1hWRfWk8Bgj_splAndSm4JWbPA2sK9BoLD6lZywWl1LsoS1w9LKxvksYmbTFah1AQERJ3jQhwKQ4ECIr5OhZObcHoSwxAUQANLDqkw/s200/PICT0090.JPG&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNvDQmicw0pmxxgKXNm0ehoEkWV6vRIrJpEf7bD7DMhkM7tG2UyvtZb-CcBQD4SezCDeGNOMnihoOVJpehFjHtHnn5ywqLNN6XkuCLZnO87a2mwjwuwh-NkMXk-9haGt5b-NPyxQWuZYU/s1600/PICT0089.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNvDQmicw0pmxxgKXNm0ehoEkWV6vRIrJpEf7bD7DMhkM7tG2UyvtZb-CcBQD4SezCDeGNOMnihoOVJpehFjHtHnn5ywqLNN6XkuCLZnO87a2mwjwuwh-NkMXk-9haGt5b-NPyxQWuZYU/s200/PICT0089.JPG&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6XRtZLD5Gl31xXLPYJBWf_S-CD3ZOUEcOJx-3OUOsWZHzmsf_mWz87RPWJ53CRLMedpVBO9Og7IfeCyGJe5E0onlYbheizJK7TFyB3N42FowoKwwXUTsZivPeu69DcCJifP6JEBDcMiw/s1600/PICT0091.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6XRtZLD5Gl31xXLPYJBWf_S-CD3ZOUEcOJx-3OUOsWZHzmsf_mWz87RPWJ53CRLMedpVBO9Og7IfeCyGJe5E0onlYbheizJK7TFyB3N42FowoKwwXUTsZivPeu69DcCJifP6JEBDcMiw/s200/PICT0091.JPG&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Ook een begin gemaakt met uit te zoeken of de klok via 9 volt gevoed kan worden. De 9 volt blok accus van de LIDL zijn wel erg snel leeg...... Zal eens meten wat het display werkelijk trekt.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pa0akv.blogspot.com/feeds/8026068279577317077/comments/default' title='Reacties posten'/><link rel='replies' type='text/html' href='http://pa0akv.blogspot.com/2010/10/real-time-klok-en-sure-display-vervolg_31.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/8026068279577317077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/8026068279577317077'/><link rel='alternate' type='text/html' href='http://pa0akv.blogspot.com/2010/10/real-time-klok-en-sure-display-vervolg_31.html' title='Real time klok en Sure display vervolg'/><author><name>André Koopman</name><uri>http://www.blogger.com/profile/10516334299819036808</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigdR6dT5CXK8w7z-5pX-kcy9-0N4l3Y1HefNBKc1hWRfWk8Bgj_splAndSm4JWbPA2sK9BoLD6lZywWl1LsoS1w9LKxvksYmbTFah1AQERJ3jQhwKQ4ECIr5OhZObcHoSwxAUQANLDqkw/s72-c/PICT0090.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288861977151022624.post-6475756372926388113</id><published>2010-10-29T12:19:00.000-07:00</published><updated>2010-10-29T12:19:40.516-07:00</updated><title type='text'>Realtime klok en Sure display vervolg</title><content type='html'>Ok vandaag weer een stapje verder gekomen. In Groningen een nieuwe DS1307 gekocht maar de 1 Hz puls werkte nog niet! Dus IC kennelijk niet kapot !!!&lt;br /&gt;
Na meting met universeelmeter bleek printspoortje naar pin 7 sluiting met massa te maken!!! Na dit verholpen te hebben alles nu ok!&lt;br /&gt;
In het display nu twee leds aangestuurd in het ritme van de 1 Hz puls, hoog led 12,2 en laag led 12,5.&lt;br /&gt;
&lt;br /&gt;
Nu nog het gelijk zetten van de klok met drie schakelaartjes realiseren.&lt;br /&gt;
Ik denk aan de volgende mogelijk heid.&lt;br /&gt;
schakelaar 1 kies mode. &amp;nbsp;uren of minuten&lt;br /&gt;
schakelaar 2 plus puls&lt;br /&gt;
schakelaar 3 min puls&lt;br /&gt;
&lt;br /&gt;
Kijken of dit een bevredigend resultaat opleverd.&lt;br /&gt;
Hier even een foto...&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjYg5tTN4_bpmGn795QeBo07Bxm_plJyNDfCTVqMJQ-5YiMkPjXahyphenhyphen74me9ymS_cQtDWpG80kxfNG8UBHwOdGxYL2iaQ5IRIExTLf768HQaIWhk-qwD9UDLRQC8GF_Mb48ivH25fKwwNg/s1600/PICT0080.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjYg5tTN4_bpmGn795QeBo07Bxm_plJyNDfCTVqMJQ-5YiMkPjXahyphenhyphen74me9ymS_cQtDWpG80kxfNG8UBHwOdGxYL2iaQ5IRIExTLf768HQaIWhk-qwD9UDLRQC8GF_Mb48ivH25fKwwNg/s320/PICT0080.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pa0akv.blogspot.com/feeds/6475756372926388113/comments/default' title='Reacties posten'/><link rel='replies' type='text/html' href='http://pa0akv.blogspot.com/2010/10/realtime-klok-en-sure-display-vervolg.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/6475756372926388113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/6475756372926388113'/><link rel='alternate' type='text/html' href='http://pa0akv.blogspot.com/2010/10/realtime-klok-en-sure-display-vervolg.html' title='Realtime klok en Sure display vervolg'/><author><name>André Koopman</name><uri>http://www.blogger.com/profile/10516334299819036808</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjYg5tTN4_bpmGn795QeBo07Bxm_plJyNDfCTVqMJQ-5YiMkPjXahyphenhyphen74me9ymS_cQtDWpG80kxfNG8UBHwOdGxYL2iaQ5IRIExTLf768HQaIWhk-qwD9UDLRQC8GF_Mb48ivH25fKwwNg/s72-c/PICT0080.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288861977151022624.post-7948949780973266364</id><published>2010-10-28T11:10:00.000-07:00</published><updated>2010-10-28T11:10:02.648-07:00</updated><title type='text'>Real time klok en Sure display vervolg</title><content type='html'>Ok weer een stapje verder, het instellen van de tijd met schakelaartjes is uitgeprobeerd en kan verder in de software worden ingevoerd. Wel tegen een ander probleem aangelopen, de seconden output op pin 7 SQW van de DS1307 werkt niet. Het zou kunnen dat ik de open collector om zeep heb geholpen door het verkeerd aansluiten van een controle led en pullup weerstand. ( zo&#39;n ledje kan echt stinken als je plus en min aansluit zonder stroombegrensings weerstand !!!!)&lt;br /&gt;
&lt;br /&gt;
Dus morgen maar 6 euro besteden aan een nieuw exemplaar om te kunnen vergelijken !</content><link rel='replies' type='application/atom+xml' href='http://pa0akv.blogspot.com/feeds/7948949780973266364/comments/default' title='Reacties posten'/><link rel='replies' type='text/html' href='http://pa0akv.blogspot.com/2010/10/real-time-klok-en-sure-display-vervolg.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/7948949780973266364'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/7948949780973266364'/><link rel='alternate' type='text/html' href='http://pa0akv.blogspot.com/2010/10/real-time-klok-en-sure-display-vervolg.html' title='Real time klok en Sure display vervolg'/><author><name>André Koopman</name><uri>http://www.blogger.com/profile/10516334299819036808</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288861977151022624.post-7460746503451966698</id><published>2010-10-27T12:30:00.000-07:00</published><updated>2010-11-06T14:20:49.964-07:00</updated><title type='text'>Real time klok en Sure display</title><content type='html'>RTC DS1307 en Sure 24*16 led display moeten samen een digitale klok gaan vormen.&lt;br /&gt;
&lt;br /&gt;
Een deel is nu klaar en de komende tijd zal ik verslag doen van dit project.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMyFGvpxf_R3oZqfa8G9g6QLt2BDzRcxEsccC1AsD28J2OBg_MwG3s4Kcey4RyElfxxCtpneIRW0-0o11tzUcmHadzFvb9xEFtUatZ38LmdVxjccO_wRg7eavYfQDf-1B9y0AHmxHa20U/s1600/PICT0073.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMyFGvpxf_R3oZqfa8G9g6QLt2BDzRcxEsccC1AsD28J2OBg_MwG3s4Kcey4RyElfxxCtpneIRW0-0o11tzUcmHadzFvb9xEFtUatZ38LmdVxjccO_wRg7eavYfQDf-1B9y0AHmxHa20U/s320/PICT0073.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;De realtime klok DS1307 werkt en ook de battery lijkt ervoor te zorgen dat de tijd door blijft gaan na afschakelen van de voedingspanning. De tijd wordt nu weergegeven op de bovenste helft van het display. Oorspronkelijk heb ik gekozen voor cijfers opgebouwd uit 7 leds hoog en 5 leds breed maar nu gebruik ik 7*4 leds zodat de cijfers wat verder uit elkaar staan. Zal morgen even een fototje maken. Gelijk zetten gaat nu nog een beetje ingewikkeld ( via een terminal programma) maar ik ben bezig met een gelijk set menu.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Uitbreiding met metingen voor temperatuur en luchtvochtigheid staan op het programma en misschien een hf verbinding naar het weerstation buiten....&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Vanmiddag in oude kwam het idee, uit een geintje met een collega, om de klok te laten spreken. Dit zou afhankelijk van de tijd kunnen zijn of als er zich bepaalde situaties voordoen zoals,iemand in de buurt (PIR sensor) of op basis van een temperatuur/luchtvochtigheid waarde...&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Wie weet welke kant het opgaat.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pa0akv.blogspot.com/feeds/7460746503451966698/comments/default' title='Reacties posten'/><link rel='replies' type='text/html' href='http://pa0akv.blogspot.com/2010/10/real-time-klok-en-sure-display.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/7460746503451966698'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/7460746503451966698'/><link rel='alternate' type='text/html' href='http://pa0akv.blogspot.com/2010/10/real-time-klok-en-sure-display.html' title='Real time klok en Sure display'/><author><name>André Koopman</name><uri>http://www.blogger.com/profile/10516334299819036808</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMyFGvpxf_R3oZqfa8G9g6QLt2BDzRcxEsccC1AsD28J2OBg_MwG3s4Kcey4RyElfxxCtpneIRW0-0o11tzUcmHadzFvb9xEFtUatZ38LmdVxjccO_wRg7eavYfQDf-1B9y0AHmxHa20U/s72-c/PICT0073.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288861977151022624.post-1201894591757588400</id><published>2010-09-14T05:10:00.000-07:00</published><updated>2010-09-14T05:10:38.693-07:00</updated><title type='text'>Eerste Arduino project werkt !</title><content type='html'>Het heeft wat voeten in de aarde gehad maar de spanning naar weerstand omzetter werkt!&lt;br /&gt;
Bij de DS1804 pootje 7 (vrijgave) ook via de Arduino bestuurd en in het regelatgorithme toch maar een kleine hystereses ingebouwd.&lt;br /&gt;
Een tweede probleem was de gelijkstroommotor regelaar. Er wordt een potmeter van 5K verwacht. De DS 1804 is echter 10K dus de Arduino software gelijk gehouden echter de analoge ingangswaarde van de teleradio door twee gedeeld met twee weerstandjes van 15K.&lt;br /&gt;
&lt;br /&gt;
Dit zorgt wel voor een halvering van het aantal regelstapjes maar ...... &lt;br /&gt;
&lt;br /&gt;
Hieronder de complete software:&lt;br /&gt;
/*&lt;br /&gt;
&amp;nbsp;Dit programma leest de rechter en linker joystickknuppel van een Teleradio afstandbesturing&lt;br /&gt;
&amp;nbsp;De uitgaande analoge signalen 0 tot 10 Volt worden eerst middels een spanningsdeling 10K + 10K&lt;br /&gt;
&amp;nbsp;door 2 gedeeld waardoor het bereik van 0 tot 5 Volt loopt.&lt;br /&gt;
&amp;nbsp;Deze signalen worden aangeboden aan een Arduino bordje met ATMEGA 328P microprocessor&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;Afhankelijk van de aangeboden analoge waarde genereerd de microprocessor een pulstrein&lt;br /&gt;
&amp;nbsp;volgens de formule : (gemeten waarde - vorige gemeten waarde) / 10&lt;br /&gt;
&amp;nbsp;Tevens wordt gekeken of de opvolgende gemeten waarde lager of hoger is dan de vorige waarde.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;Parosha groep augustus 2010&lt;br /&gt;
&amp;nbsp;&lt;a href=&quot;mailto:a.koopman@tsotechniek.nl&quot;&gt;a.koopman@tsotechniek.nl&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;*/&lt;br /&gt;
// Constanten zoals gebruikt in het programma&lt;br /&gt;
const int analogLinks = 0;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // linker kanaal gekoppeld aan analoog kanaal 0&lt;br /&gt;
const int analogRechts = 1;&amp;nbsp;&amp;nbsp;&amp;nbsp; // rechter kanaal gekoppeld aan analoog kanaal 1&lt;br /&gt;
const int ledPinUR = 6;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Up-Down potmeter rechts&lt;br /&gt;
const int ledPinR = 5;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Puls potmeter rechts&lt;br /&gt;
const int ledPinUL = 4;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Up-Down potmeter links&lt;br /&gt;
const int ledPinL = 3;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Puls potmeter links&lt;br /&gt;
const int threshold = 400;&amp;nbsp;&amp;nbsp; // an arbitrary threshold level that&#39;s in the range of the analog input&lt;br /&gt;
const int ledPinVR = 7;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //vrijgave potmeter rechts&lt;br /&gt;
const int ledPinVL = 8;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //vrijgave potmeter links&lt;br /&gt;
// aantal begin waarden vastleggen&lt;br /&gt;
int LinksOud = 0;&lt;br /&gt;
int RechtsOud = 0;&lt;br /&gt;
int VerschilR = 0;&lt;br /&gt;
int VerschilOudR = 0;&lt;br /&gt;
int VerschilL = 0;&lt;br /&gt;
int VerschilOudL = 0;&lt;br /&gt;
int PulsL = 0;&lt;br /&gt;
int PulsR = 0;&lt;br /&gt;
int eenmaal = 0;&lt;br /&gt;
// setup eenmaal doorlopen maak pennen naar DS1804 output&lt;br /&gt;
void setup() {&lt;br /&gt;
&amp;nbsp; pinMode(ledPinUR, OUTPUT);&lt;br /&gt;
&amp;nbsp; pinMode(ledPinR,OUTPUT);&lt;br /&gt;
&amp;nbsp; pinMode(ledPinUL,OUTPUT);&lt;br /&gt;
&amp;nbsp; pinMode(ledPinL,OUTPUT);&lt;br /&gt;
&amp;nbsp; pinMode(ledPinVR,OUTPUT);&lt;br /&gt;
&amp;nbsp; pinMode(ledPinVL,OUTPUT);&lt;br /&gt;
&amp;nbsp; // initialize serial communications:&lt;br /&gt;
&amp;nbsp; Serial.begin(9600);&lt;br /&gt;
&amp;nbsp; // print tussen waarden om monitoring mogelijk te maken !&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Nu gaat het echt beginnen !&lt;br /&gt;
void loop() {&lt;br /&gt;
&amp;nbsp; // potmeters éénmaal naar 0 zetten&lt;br /&gt;
&amp;nbsp; if (eenmaal &amp;lt;1)&lt;br /&gt;
&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(ledPinUL,LOW);&amp;nbsp; //verlagen van de pulsen&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(ledPinUR,LOW);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(ledPinVL,LOW);&amp;nbsp; // vrijgave potmeter links&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(ledPinVR,LOW);&amp;nbsp; // vrijgave potmeter rechts&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; for (int i=0; i &amp;lt;= 99; i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(ledPinL, HIGH);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(ledPinR,HIGH);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; delay(1);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(ledPinL, LOW);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(ledPinR,LOW);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; delay(1);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; digitalWrite(ledPinVL,HIGH);&amp;nbsp; // blokkeren potmeter links&lt;br /&gt;
&amp;nbsp; digitalWrite(ledPinVR,HIGH);&amp;nbsp; // blokkeren potmeter rechts&lt;br /&gt;
&amp;nbsp; eenmaal = 1;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // blokkeren 0 zetten&lt;br /&gt;
&amp;nbsp; delay(1000);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // even rust !&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
&amp;nbsp; // joystick waarden inlezen:&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; int analogValueL = analogRead(analogLinks);&lt;br /&gt;
&amp;nbsp; delay(2);&lt;br /&gt;
&amp;nbsp; //Serial.write(&quot;linkerwaarde = &quot;);&lt;br /&gt;
&amp;nbsp; //Serial.println(analogValueL);&lt;br /&gt;
&amp;nbsp; int analogValueR = analogRead(analogRechts);&lt;br /&gt;
&amp;nbsp; //delay(10);&lt;br /&gt;
&amp;nbsp; Serial.write(&quot;rechterwaarde = &quot;);&lt;br /&gt;
&amp;nbsp; Serial.println(analogValueR);&lt;br /&gt;
&amp;nbsp; // Eerst maar even het linker kanaal afhandelen !&lt;br /&gt;
&amp;nbsp; if ((analogValueL - LinksOud) &amp;gt; 5)&lt;br /&gt;
&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(ledPinUL,HIGH);&amp;nbsp; //ophogen van de pulsen&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(ledPinVL,LOW);&amp;nbsp; // vrijgave potmeter&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; VerschilL = (analogValueL - LinksOud)/11;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if ((VerschilL + VerschilOudL) &amp;gt; 90)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VerschilL = 90;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VerschilL = VerschilL;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; LinksOud = analogValueL; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; VerschilOudL = VerschilL;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // pulstreinje opbouwen 1 ms&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; for (int i=0; i &amp;lt;= VerschilL; i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(ledPinL, HIGH);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; delay(1);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(ledPinL, LOW);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; delay(1);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp; } &lt;br /&gt;
&amp;nbsp; else if(analogValueL &amp;lt; LinksOud)&lt;br /&gt;
&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(ledPinUL,LOW);&amp;nbsp; // verlagen van de pulsen &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(ledPinVL,LOW);&amp;nbsp; // vrijgave potmeter&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; VerschilL = (LinksOud - analogValueL)/11;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; VerschilOudL = VerschilL;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; LinksOud = analogValueL; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // pulstreinje opbouwen 1 ms&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; for (int i=0; i &amp;lt;= VerschilL; i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(ledPinL, HIGH);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; delay(1);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(ledPinL, LOW);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; delay(1);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
&amp;nbsp; else&lt;br /&gt;
&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; VerschilL = 0;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; VerschilOudL = 0;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(ledPinVL,HIGH);&amp;nbsp; // blokkade potmeter&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; // En nu dan het rechter kanaal!&lt;br /&gt;
&amp;nbsp; Serial.write(&quot;verschilwaarde = &quot;);&lt;br /&gt;
&amp;nbsp; Serial.println(VerschilR);&lt;br /&gt;
&amp;nbsp; if ((analogValueR - RechtsOud)&amp;gt;5)&lt;br /&gt;
&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(ledPinUR,HIGH);&amp;nbsp; //ophogen pulsen&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(ledPinVR,LOW);&amp;nbsp; // vrijgave potmeter&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; VerschilR = (analogValueR - RechtsOud)/11;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if ((VerschilR + VerschilOudR) &amp;gt; 90)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VerschilR = 90;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VerschilR = VerschilR;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VerschilOudR = VerschilR;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; RechtsOud = analogValueR; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // pulstreinje opbouwen 1 ms&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Serial.write(&quot;ophogen!&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; for (int i=0; i &amp;lt;= VerschilR; i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(ledPinR, HIGH);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; delay(1);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(ledPinR, LOW);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; delay(1);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp; } &lt;br /&gt;
&amp;nbsp; else if(analogValueR &amp;lt; RechtsOud)&lt;br /&gt;
&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(ledPinUR,LOW); &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(ledPinVR,LOW);&amp;nbsp; // vrijgave potmeter&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; VerschilR = (RechtsOud - analogValueR)/11;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; VerschilOudR = VerschilR;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; RechtsOud = analogValueR; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // pulstreinje opbouwen 1 ms&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Serial.write(&quot;verlagen!&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; for (int i=0; i &amp;lt;= VerschilR; i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(ledPinR, HIGH);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; delay(1);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(ledPinR, LOW);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; delay(1);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;br /&gt;
&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; VerschilR = 0;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; VerschilOudR = 0;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Serial.write(&quot;doe niks!&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; digitalWrite(ledPinVR,HIGH);&amp;nbsp; //blokkade potmeter&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,HIGH);&amp;nbsp; // blokkade potmeter&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
&amp;nbsp; // wachtlus van 500 ms anders wordt het zo zenuwachtig !&lt;br /&gt;
&amp;nbsp; delay(500);&lt;br /&gt;
}</content><link rel='replies' type='application/atom+xml' href='http://pa0akv.blogspot.com/feeds/1201894591757588400/comments/default' title='Reacties posten'/><link rel='replies' type='text/html' href='http://pa0akv.blogspot.com/2010/09/eerste-arduino-project-werkt.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/1201894591757588400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/1201894591757588400'/><link rel='alternate' type='text/html' href='http://pa0akv.blogspot.com/2010/09/eerste-arduino-project-werkt.html' title='Eerste Arduino project werkt !'/><author><name>André Koopman</name><uri>http://www.blogger.com/profile/10516334299819036808</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288861977151022624.post-6078077118568329392</id><published>2010-08-26T11:14:00.000-07:00</published><updated>2010-08-26T11:14:16.435-07:00</updated><title type='text'>Info over Arduino</title><content type='html'>Ok er is veel informatie over de Arduino. Voor de mensen die dit niet weten is&amp;nbsp;&lt;a href=&quot;http://www.arduino.cc/&quot;&gt;www.arduino.cc&lt;/a&gt;&amp;nbsp;en&amp;nbsp;&lt;a href=&quot;http://www.arduino.nu/&quot;&gt;www.arduino.nu&lt;/a&gt;&amp;nbsp;een goede start !</content><link rel='replies' type='application/atom+xml' href='http://pa0akv.blogspot.com/feeds/6078077118568329392/comments/default' title='Reacties posten'/><link rel='replies' type='text/html' href='http://pa0akv.blogspot.com/2010/08/info-over-arduino.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/6078077118568329392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/6078077118568329392'/><link rel='alternate' type='text/html' href='http://pa0akv.blogspot.com/2010/08/info-over-arduino.html' title='Info over Arduino'/><author><name>André Koopman</name><uri>http://www.blogger.com/profile/10516334299819036808</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288861977151022624.post-3244351142737357032</id><published>2010-08-26T07:32:00.000-07:00</published><updated>2010-08-26T07:32:36.276-07:00</updated><title type='text'>Vorderingen met de Arduino</title><content type='html'>Ok het is stom maar het bordje is defect !&lt;br /&gt;
Oorzaak voedingspanning via Vin aangesloten en dan ga je om de beveiligingsdiode om !&lt;br /&gt;
Uiteraard aansluitingen niet gecontroleerd en je raad het al, rook.........&lt;br /&gt;
Het lijkt nu op een defecte microchip en dus uitzoeken hoe ik de bootloader in een nieuwe Atmel328P kan krijgen.&lt;br /&gt;
En dan maar hopen dat dit het enige onderdeel is wat de geest heeft gegeven .....&lt;br /&gt;
&lt;br /&gt;
Les geleerd : plaats zelf diode in aansluiting naar V in !!!!!!!</content><link rel='replies' type='application/atom+xml' href='http://pa0akv.blogspot.com/feeds/3244351142737357032/comments/default' title='Reacties posten'/><link rel='replies' type='text/html' href='http://pa0akv.blogspot.com/2010/08/vorderingen-met-de-arduino.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/3244351142737357032'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288861977151022624/posts/default/3244351142737357032'/><link rel='alternate' type='text/html' href='http://pa0akv.blogspot.com/2010/08/vorderingen-met-de-arduino.html' title='Vorderingen met de Arduino'/><author><name>André Koopman</name><uri>http://www.blogger.com/profile/10516334299819036808</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>