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
/** | |
* Program name: This program is part of the project Pen Stand: LED Enabled | |
* Author: Aditya K | |
* Date: 7/1/2017 | |
* LICENSE: MIT | |
* | |
* Discription: This program counts how many times a Pen is removed from the | |
the stand and prints it on LED Matrix display. | |
* | |
* Copyright (c) 2017 Aditya K. |
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
/** | |
* Program name: This program is part of the project Pen Stand: LED Enabled | |
* Author: Aditya K | |
* Date: 7/1/2017 | |
* LICENSE: MIT | |
* | |
* Discription: This program animates different color patterns every time user removes pen from stand. | |
* | |
* | |
* Copyright (c) 2017 Aditya K. |
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
/** | |
* Program name: This program is part of the project Pen Stand: LED Enabled | |
* Author: Aditya K | |
* Date: 7/1/2017 | |
* LICENSE: MIT | |
* | |
* Discription: This program animates easing effect every time user removes pen from stand. | |
* | |
* | |
* Copyright (c) 2017 Aditya K. |
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
#!/bin/bash | |
#Download all files in the HOME directory | |
CURR_DIR=$HOME | |
RPI_DEP=$HOME/RPI-Jasper-Dependencies | |
#Add path into PYTHONPATH variable | |
export PYTHONPATH=$PYTHONPATH:/$HOME/.local |
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 subprocess | |
import logging | |
import time | |
# CHIP IO | |
import CHIP_IO.GPIO as GPIO | |
# import evedev module | |
import evdev | |
def connect(): |
NewerOlder