Embedded linux IoT
2. Write a program that uses Flask, to makes use of the RPiGPIO library. The pins 18, 19, and 21 will be inputs with pull-down capability, representing an integer value where 18 and 21 are most and least significant, respectively. The program responds to the following path rules o- Return a message that describes what the program is about and does o /sample/ – Returns a message “Value – val”
OR
OR