This file contains 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 io | |
import time | |
SH = 17 | |
DS = 27 | |
ST = 22 | |
def send(value): | |
io.output(DS,0) | |
io.output(SH,0) |
This file contains 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
from ftplib import FTP | |
from os import path | |
import spur # install it with PIP | |
address = "ip_address_of_raspberry_pi" | |
user_name = "user_name" | |
password = "password" | |
hex_file = r"absolute/relative_path_to_hex_file" | |
remote_hex_file = path.basename(hex_file) |
NewerOlder