Line: 1 to 1 | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Course on Internet of Things Exercises Session 1:Introductory remarks: | |||||||||||||
Changed: | |||||||||||||
< < | The scripts we are going to develop during these exercises do not depend on any system issues: We do not use command line arguments not available in MicroPython nor do we use any hardware specific features which are not available on a PC. The exercises can therefore be developed and run on the ESP32 but also on any standard PC with Python3 installed. | ||||||||||||
> > | The scripts we are going to develop during this exercise session do not depend on any system issues: We do not use command line arguments not available in MicroPython nor do we use any hardware specific features which are not available on a PC. The exercises can therefore be developed and run on the ESP32 but also on any standard PC with Python3 installed. | ||||||||||||
Exercise 1: Use of REPL | |||||||||||||
Changed: | |||||||||||||
< < | Connect to your ESP32 with minicom or thonny. | ||||||||||||
> > | Connect to your ESP32 with minicom or thonny. You may try the same thing running Python3 on your PC. | ||||||||||||
Using REPL:
| |||||||||||||
Line: 65 to 65 | |||||||||||||
| |||||||||||||
Added: | |||||||||||||
> > | Exercise 5: Some maths: Calculate the sine functionWrite a script that asks the user for an angle in degrees. Calculate the sine of this angle.Exercise 6: ClassesWrite a Python class with methods calculation mathematical number series. These series should be calculated:
| ||||||||||||
-- Uli Raich - 2020-05-03 | |||||||||||||
Line: 75 to 92 | |||||||||||||
| |||||||||||||
Added: | |||||||||||||
> > |
|