| a | b | b | d | e |
|---|---|---|---|---|
| f | g | |||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Successes :star2: | |
| - | |
| - | |
| ### Targets :bulb: | |
| - | |
| - |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Q1 - correct **( mark)** | |
| Q2 - correct **( mark)** | |
| Q3 - correct **( mark)** | |
| Q4a - correct **( mark)** | |
| Q4b - correct **( mark)** | |
| Q5a - correct **( mark)** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import RPi.GPIO as GPIO, time as t | |
| GPIO.setmode(GPIO.BOARD) | |
| #sets up pins as outputs | |
| GPIO.setup(21,GPIO.OUT) | |
| GPIO.setup(23,GPIO.OUT) | |
| GPIO.setup(24,GPIO.OUT) | |
| GPIO.setup(26,GPIO.OUT) | |
| fwd_l = GPIO.PWM(21, 50) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import picamera,RPi.GPIO as GPIO,time | |
| button = 14 | |
| balloon = 2 | |
| GPIO.setmode(GPIO.BCM) | |
| GPIO.setwarnings(False) | |
| GPIO.setup(button, GPIO.IN, GPIO.PUD_UP) | |
| GPIO.setup(balloon, GPIO.OUT) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| payload=BETTDEMO | |
| disable_monitor=N | |
| frequency=434.250 | |
| baud=300 | |
| camera=Y | |
| low_width=320 | |
| low_height=240 | |
| high=2000 | |
| high_width=640 | |
| high_height=480 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| payload=BETTDEMO | |
| disable_monitor=N | |
| frequency=434.250 | |
| baud=300 | |
| camera=Y | |
| low_width=320 | |
| low_height=240 | |
| high=2000 | |
| high_width=640 | |
| high_height=480 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RPi Hardware : BCM2708 | |
| RPi Revision : 0015 | |
| RPi Model A+ or B+ | |
| PITS+ Board | |
| RTTY Payload ID = 'BETTDEMO' | |
| Radio baud rate = 300 | |
| GPS Logging enabled | |
| Telemetry Logging enabled | |
| Camera (CSI - raspistill) Enabled |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| echo "Raspi-Config steps" | |
| sudo raspi-config nonint do_camera 0 | |
| sudo raspi-config nonint do_i2c 0 | |
| sudo raspi-config nonint do_vnc 0 | |
| echo "Updating...." | |
| sleep 2 | |
| sudo apt-get update |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def run(self): | |
| while True: | |
| # Do something | |
| thread = threading.Thread(target=run, args=()) | |
| thread.daemon = True # Daemonize thread | |
| thread.start() # Start the execution | |
OlderNewer