O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.
Programming
Logic with Facilino
Leopoldo Armesto
Senior Lecturer
Universitat Polit�cnica de Val�ncia
1
Outline
Material
Worked Instructions
Exercises
AND/OR
Even or Odd
Comparison
2
Material
3
Wemos D1 R32 with Arduino Multisensor Shield
Worked Instructions
4
Additional instructionsMain instructions
AND/OR
Turn on D12 LED with the AND operation between pushbuttons D2 and D3.
Turn on D13 LED with the OR operation between...
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
Comparison
Read the analog input A0 and divide it into four
ranges [0-1023],[1024-2047],[2048-3071] and [3072-
4095].
Turn...
Programming
Logic with Facilino
Leopoldo Armesto
Senior Lecturer
Universitat Polit�cnica de Val�ncia
8
Próximos SlideShares
Carregando em…5
×

Logic with Facilino

4 visualizações

Publicada em

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

Publicada em: Educação
  • Seja o primeiro a comentar

  • Seja a primeira pessoa a gostar disto

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

×