SlideShare a Scribd company logo
Programming
Maths with Facilino
Leopoldo Armesto
Senior Lecturer
Universitat Politècnica de València
1
Outline
Material
Worked Instructions
Exercises
Binary Digits
Min/Max
Sinusoidal Wave
2
Material
3
Wemos D1 R32 with Arduino Multisensor Shield
Worked Instructions
4
Main instructions Additional instructions
Binary Digits
Compute the number of digits in binary
representation of random numbers.
5
Min/Max
Compute minimum and maximum values read from consecutive analog values.
6
Sinusoidal Wave
Generate a sinusoidal wave with 1Hz and amplitude 2 .
7
Programming
Maths with Facilino
Leopoldo Armesto
Senior Lecturer
Universitat Politècnica de València
8

More Related Content

More from Leopoldo Armesto

RGB LED strips with Facilino
RGB LED strips with FacilinoRGB LED strips with Facilino
RGB LED strips with Facilino
Leopoldo Armesto
 
OLED 128x32 with Facilino
OLED 128x32 with FacilinoOLED 128x32 with Facilino
OLED 128x32 with Facilino
Leopoldo Armesto
 
Logic with Facilino
Logic with FacilinoLogic with Facilino
Logic with Facilino
Leopoldo Armesto
 
Light dimmer with Facilino
Light dimmer with FacilinoLight dimmer with Facilino
Light dimmer with Facilino
Leopoldo Armesto
 
LDR with Facilino
LDR with FacilinoLDR with Facilino
LDR with Facilino
Leopoldo Armesto
 
LCDs with Facilino
LCDs with FacilinoLCDs with Facilino
LCDs with Facilino
Leopoldo Armesto
 
IR Receive with Facilino
IR Receive with FacilinoIR Receive with Facilino
IR Receive with Facilino
Leopoldo Armesto
 
Gas sensor with Facilino
Gas sensor with FacilinoGas sensor with Facilino
Gas sensor with Facilino
Leopoldo Armesto
 
Functions and Procedures with Facilino
Functions and Procedures with FacilinoFunctions and Procedures with Facilino
Functions and Procedures with Facilino
Leopoldo Armesto
 
Flow Control with Facilino
Flow Control with FacilinoFlow Control with Facilino
Flow Control with Facilino
Leopoldo Armesto
 
Web-server UI with Facilino
Web-server UI with FacilinoWeb-server UI with Facilino
Web-server UI with Facilino
Leopoldo Armesto
 
DHT11 (Digital Temperature and Humidity) with Facilino
DHT11 (Digital Temperature and Humidity) with FacilinoDHT11 (Digital Temperature and Humidity) with Facilino
DHT11 (Digital Temperature and Humidity) with Facilino
Leopoldo Armesto
 
Sound Buzzer with Facilino
Sound Buzzer with FacilinoSound Buzzer with Facilino
Sound Buzzer with Facilino
Leopoldo Armesto
 
Bluetooth voice control with Facilino
Bluetooth voice control with FacilinoBluetooth voice control with Facilino
Bluetooth voice control with Facilino
Leopoldo Armesto
 
Bluetooth Classic with Facilino
Bluetooth Classic with FacilinoBluetooth Classic with Facilino
Bluetooth Classic with Facilino
Leopoldo Armesto
 
Blinking LEDs with Facilino
Blinking LEDs with FacilinoBlinking LEDs with Facilino
Blinking LEDs with Facilino
Leopoldo Armesto
 
Bluetooth Low-Energy with Facilino
Bluetooth Low-Energy with FacilinoBluetooth Low-Energy with Facilino
Bluetooth Low-Energy with Facilino
Leopoldo Armesto
 
Basic actuators with Facilino
Basic actuators with FacilinoBasic actuators with Facilino
Basic actuators with Facilino
Leopoldo Armesto
 
Home Automation through Alexa with Facilino
Home Automation through Alexa with FacilinoHome Automation through Alexa with Facilino
Home Automation through Alexa with Facilino
Leopoldo Armesto
 
Programming: About Facilino
Programming: About FacilinoProgramming: About Facilino
Programming: About Facilino
Leopoldo Armesto
 

More from Leopoldo Armesto (20)

RGB LED strips with Facilino
RGB LED strips with FacilinoRGB LED strips with Facilino
RGB LED strips with Facilino
 
OLED 128x32 with Facilino
OLED 128x32 with FacilinoOLED 128x32 with Facilino
OLED 128x32 with Facilino
 
Logic with Facilino
Logic with FacilinoLogic with Facilino
Logic with Facilino
 
Light dimmer with Facilino
Light dimmer with FacilinoLight dimmer with Facilino
Light dimmer with Facilino
 
LDR with Facilino
LDR with FacilinoLDR with Facilino
LDR with Facilino
 
LCDs with Facilino
LCDs with FacilinoLCDs with Facilino
LCDs with Facilino
 
IR Receive with Facilino
IR Receive with FacilinoIR Receive with Facilino
IR Receive with Facilino
 
Gas sensor with Facilino
Gas sensor with FacilinoGas sensor with Facilino
Gas sensor with Facilino
 
Functions and Procedures with Facilino
Functions and Procedures with FacilinoFunctions and Procedures with Facilino
Functions and Procedures with Facilino
 
Flow Control with Facilino
Flow Control with FacilinoFlow Control with Facilino
Flow Control with Facilino
 
Web-server UI with Facilino
Web-server UI with FacilinoWeb-server UI with Facilino
Web-server UI with Facilino
 
DHT11 (Digital Temperature and Humidity) with Facilino
DHT11 (Digital Temperature and Humidity) with FacilinoDHT11 (Digital Temperature and Humidity) with Facilino
DHT11 (Digital Temperature and Humidity) with Facilino
 
Sound Buzzer with Facilino
Sound Buzzer with FacilinoSound Buzzer with Facilino
Sound Buzzer with Facilino
 
Bluetooth voice control with Facilino
Bluetooth voice control with FacilinoBluetooth voice control with Facilino
Bluetooth voice control with Facilino
 
Bluetooth Classic with Facilino
Bluetooth Classic with FacilinoBluetooth Classic with Facilino
Bluetooth Classic with Facilino
 
Blinking LEDs with Facilino
Blinking LEDs with FacilinoBlinking LEDs with Facilino
Blinking LEDs with Facilino
 
Bluetooth Low-Energy with Facilino
Bluetooth Low-Energy with FacilinoBluetooth Low-Energy with Facilino
Bluetooth Low-Energy with Facilino
 
Basic actuators with Facilino
Basic actuators with FacilinoBasic actuators with Facilino
Basic actuators with Facilino
 
Home Automation through Alexa with Facilino
Home Automation through Alexa with FacilinoHome Automation through Alexa with Facilino
Home Automation through Alexa with Facilino
 
Programming: About Facilino
Programming: About FacilinoProgramming: About Facilino
Programming: About Facilino
 

Recently uploaded

Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 

Recently uploaded (20)

Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 

Maths with Facilino