3
0

Compare commits

..

No commits in common. "99ad4d781cb7124e783770dc79020b3950e9eccb" and "fa047dee959e4323392b6dd70e8bb61e34a61f5c" have entirely different histories.

5 changed files with 7 additions and 26 deletions

View File

@ -1,16 +0,0 @@
: '
THIS CODE HAS BEEN TESTED ON RASPBERRY PI 3B, 4B AND IS FULLY OPERATIONAL.
Problem Statement: Picamera
Code from InternetOfThingsAndEmbeddedSystems (SPPU - Third Year - Computer Engineering - Content) repository on KSKA Git: https://git.kska.io/sppu-te-comp-content/InternetOfThingsAndEmbeddedSystems
'
# BEGINNING OF CODE
cd /home/$(whoami)/Desktop/ # Changing current working directory to Desktop
raspicam-still -o test.jpg # Image
libcamera-vid --codec h254 vid.h264
# END OF CODE

View File

@ -16,13 +16,11 @@ GPIO.cleanup()
GPIO.setup(16, GPIO.IN) # Set GPIO 16 as input for water level sensor signal
GPIO.setup(6, GPIO.OUT) # Set GPIO 6 as output for LED
try:
while True:
if (GPIO.input(16))
GPIO.output(6, True) # Turn ON LED if water detected
else
GPIO.output(6, False) # Keep LED OFF if no water detected
except KeyboardInterrupt:
GPIO.cleanup()
print("Program exited by user.")
# END OF CODE

View File

@ -18,7 +18,6 @@
2. [Assignment-2](https://git.kska.io/sppu-te-comp-content/InternetOfThingsAndEmbeddedSystems/src/branch/main/Practical/Assignment-2/)
3. [Assignment-3](https://git.kska.io/sppu-te-comp-content/InternetOfThingsAndEmbeddedSystems/src/branch/main/Practical/Assignment-3/)
4. [Assignment-4](https://git.kska.io/sppu-te-comp-content/InternetOfThingsAndEmbeddedSystems/src/branch/main/Practical/Assignment-4/)
5. [Assignment-5](https://git.kska.io/sppu-te-comp-content/InternetOfThingsAndEmbeddedSystems/src/branch/main/Practical/Assignment-5/)
## Question Papers
- [IN-SEM](https://git.kska.io/sppu-te-comp-content/InternetOfThingsAndEmbeddedSystems/src/branch/main/Question%20Papers/IN-SEM)