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
#!/usr/bin/env python | |
# | |
# blinking_led.py | |
# @author Nate Heppard | |
# @date 1 October 2020 | |
import RPi.GPIO as GPIO # Import RasPi GPIO library | |
from time import sleep # Import sleep function from time module | |
LED_PIN = 23 # Pin used to control LED |
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
//<insert_package_declaration> | |
import java.awt.Graphics2D; | |
import java.awt.image.BufferedImage; | |
import java.io.IOException; | |
public class Image { | |
private int width, height; | |
private int[] pixels; |