Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.

Logic with Facilino

5 vues

Publié le

In this presentation we introduce some basic examples to understand logic instructions with Facilino

Publié dans : Formation
  • Soyez le premier à commenter

  • Soyez le premier à aimer ceci

Logic with Facilino

  1. 1. Programming Logic with Facilino Leopoldo Armesto Senior Lecturer Universitat Polit�cnica de Val�ncia 1
  2. 2. Outline Material Worked Instructions Exercises AND/OR Even or Odd Comparison 2
  3. 3. Material 3 Wemos D1 R32 with Arduino Multisensor Shield
  4. 4. Worked Instructions 4 Additional instructionsMain instructions
  5. 5. AND/OR Turn on D12 LED with the AND operation between pushbuttons D2 and D3. Turn on D13 LED with the OR operation between pushbuttons D2 and D3. 5
  6. 6. Even or Odd (Bitwise AND) Turn on D12 LED when we introduce an even number. Turn on the D13 LED when it is odd. 6
  7. 7. Comparison Read the analog input A0 and divide it into four ranges [0-1023],[1024-2047],[2048-3071] and [3072- 4095]. Turn LEDs D12 and D13 on based on the binary codification of each range. 7
  8. 8. Programming Logic with Facilino Leopoldo Armesto Senior Lecturer Universitat Polit�cnica de Val�ncia 8

×