| Ligne 1 : |
Ligne 1 : |
| | {{SenseurIR-Nav}} | | {{SenseurIR-Nav}} |
| | | | |
| − | [[Fichier:IR-appleremote.jpeg|400px]]
| + | {{ADFImage|IR-appleremote.jpeg|400px}} |
| | | | |
| | For our final project, we will use a remote control to send messages to a microcontroller. For example, this might be useful for a robot that can be directed with an IR remote. It can also be good for projects that you want to control from far away, without wires. | | For our final project, we will use a remote control to send messages to a microcontroller. For example, this might be useful for a robot that can be directed with an IR remote. It can also be good for projects that you want to control from far away, without wires. |
| Ligne 133 : |
Ligne 133 : |
| | When we run this it will print out something like... | | When we run this it will print out something like... |
| | | | |
| − | [[Fichier:IR-pulsecounter.jpg]]
| + | {{ADFImage|IR-pulsecounter.jpg}} |
| | | | |
| | OK time to make the sketch compare what we received to what we have in our stored array: | | OK time to make the sketch compare what we received to what we have in our stored array: |
| | | | |
| − | [[Fichier:IR-ircompare.jpg]]
| + | {{ADFImage|IR-ircompare.jpg}} |
| | | | |
| | As you can see, there is some variation. So when we do our comparison we can't look for preciesely the same values, we have to be a little 'fuzzy'. We'll say that the values can vary by 20% - that should be good enough. | | As you can see, there is some variation. So when we do our comparison we can't look for preciesely the same values, we have to be a little 'fuzzy'. We'll say that the values can vary by 20% - that should be good enough. |
| Ligne 177 : |
Ligne 177 : |
| | </nowiki> | | </nowiki> |
| | | | |
| − | [[Fichier:IR-codecompareok.jpg]]
| + | {{ADFImage|IR-codecompareok.jpg}} |
| | | | |
| | | | |
| Ligne 256 : |
Ligne 256 : |
| | After testing, success! | | After testing, success! |
| | | | |
| − | [[Fichier:mulitirbutton.jpg]]
| + | {{ADFImage|mulitirbutton.jpg}} |
| | | | |
| − | {{ADF-Accord}} | + | {{SenseurIR-Nav}} |
| − | | |
| − | {{MCH-Accord}}
| |