Arduino (ATMega328p) boards can be used to control multiple LEDs. To simplify the management of the pulse width modulation and use only a couple of arduino's pins for many LEDs I used PCA9685 controller. PCA9685 is connected to Arduino using I2C interface that requires only two data pins. .. image:: /media/2019-12-blinking-multiple-leds-with-arduino-atmega328p-and-pca9685/sketch_bb.png :width: 600px :alt: breadboard Blinking multiple LEDs with Arduino (ATMega328p) and PCA9685 .. image:: /media/2019-12-blinking-multiple-leds-with-arduino-atmega328p-and-pca9685/sketch_schem.png :width: 600px :alt: schema Blinking multiple LEDs with Arduino (ATMega328p) and PCA9685 ....
Parsing PWM signals ======================= For my `robocar project `_ I needed to understand the mechanism of pulse width modulation of the remote control. My intention was to use Arduino as a proxy between RC-receiver and servos/ESC to be able to record the used input for imitation learning. Human driver (me) sends steering commands via the remote control (transmitter). RC receiver converts radio signal into PWM signal. Arduino captures and maybe filters the signal, saves it somehow and sends it to the servos/ESC....
Design pattern Mixin is often used in python. There are two main situations where mixins are used 1:
You want to provide a lot of optional features for a class. You want to use one particular feature in a lot of different classes. Order of mixins definition Order in which you use mixins defines the behaviour. Quote from 2:
in Python the class hierarchy is defined right to left, so in this case the Mixin2 class is the base class, extended by Mixin1 and finally by BaseClass....
There are many ways for showing slides beyond powerpoint.
Powerpoint is not cross-platform solution. Google Presentations require internet connection.
There are solutions for making presentations with html and javascript:
reveal.js – more powerful, flexible formats, markdown support, plots a splugins remark many others : https://en.wikipedia.org/wiki/Web-based_slideshow RevealJS example: [https://revealjs.com/#/]
Remark Example Example of html code for 3-slides presentaiton from github of the project:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 <!...