issue89:arduino
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue89:arduino [2014/10/31 18:32] – créée andre_domenech | issue89:arduino [2015/02/06 14:48] (Version actuelle) – andre_domenech | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ** | ||
Last month was a merge of two sketches into one which resulted in keypad presses being displayed on an LCD screen. This month I’m keeping the same circuit but adding more code. | Last month was a merge of two sketches into one which resulted in keypad presses being displayed on an LCD screen. This month I’m keeping the same circuit but adding more code. | ||
Ligne 15: | Ligne 16: | ||
| | ||
- | After much tinkering, I managed to get it working. One thing that did catch me out for a while was the include statements. Apparently you shouldn’t put things between the include statements. I had the Password(“4321”) line right below the Password include, but before the LiquidCrystal include, so that stumped me for a bit. Once I got past that, I got stumped with why it wouldn’t accept the password. After much trial and error I found that in the line: | + | After much tinkering, I managed to get it working. One thing that did catch me out for a while was the include statements. Apparently you shouldn’t put things between the include statements. I had the Password(“4321”) line right below the Password include, but before the LiquidCrystal include, so that stumped me for a bit. Once I got past that, I got stumped with why it wouldn’t accept the password. |
+ | ** | ||
+ | |||
+ | Le mois dernier j'ai parlé de la fusion de deux essais en un seul ayant pour résultat l' | ||
+ | |||
+ | Bienvenue ! | ||
+ | |||
+ | Je pensais que ce serait bien si l' | ||
+ | http:// | ||
+ | |||
+ | Comme il est indiqué sur la page, téléchargez, | ||
+ | |||
+ | #include < | ||
+ | |||
+ | dans votre code. | ||
+ | |||
+ | Fusionner le code s' | ||
+ | |||
+ | https:// | ||
+ | C'est à peu près ce que je voulais faire, mais avec mon clavier 3x4. | ||
+ | |||
+ | Après beaucoup de bricolage, j'ai réussi à le faire fonctionner. Une chose qui m'a préoccupé pendant un certain temps a été les arguments « include ». Apparemment, | ||
+ | |||
+ | ** | ||
+ | After much trial and error I found that in the line: | ||
case ' ': guessPassword(); | case ' ': guessPassword(); | ||
Ligne 26: | Ligne 51: | ||
Now, wouldn’t it be nice if it stopped at ‘Welcome!’ and waited for something to happen before needing a code or something…? | Now, wouldn’t it be nice if it stopped at ‘Welcome!’ and waited for something to happen before needing a code or something…? | ||
+ | ** | ||
+ | |||
+ | Après beaucoup de tâtonnements, | ||
+ | |||
+ | case ' ': guessPassword(); | ||
+ | |||
+ | L' | ||
+ | |||
+ | Maintenant, il dit : « Entrez le code : ». Vous entrez un code à quatre chiffres et appuyez sur la touche dièse (#) pour terminer. L' | ||
+ | |||
+ | Mon code est ici: http:// | ||
+ | |||
+ | Bon, est-ce que ça ne serait pas mieux s'il s' | ||
issue89/arduino.1414776748.txt.gz · Dernière modification : 2014/10/31 18:32 de andre_domenech