I hereby claim:
- I am paulschow on github.
- I am pauls (https://keybase.io/pauls) on keybase.
- I have a public key whose fingerprint is F517 0477 FA5F 09A3 9871 B031 CC20 C58B 358C 9804
To claim this, I am signing this object:
| # Script to download images from blogger and replace them in a markdown file | |
| # Works with markdown files generated by blog2md | |
| # https://github.com/palaniraja/blog2md | |
| from selenium import webdriver | |
| from selenium.webdriver.common.keys import Keys | |
| from selenium.webdriver.common.by import By | |
| import time | |
| import urllib | |
| from selenium.webdriver.firefox.options import Options |
| #Main loop | |
| if __name__ == '__main__': | |
| counter = 0 | |
| #Loop for awhile | |
| while counter < 14400: | |
| verbose_ping("192.168.1.5",11) #W | |
| verbose_ping("192.168.1.24",9) #T | |
| verbose_ping("192.168.1.12",8) #L | |
| verbose_ping("192.168.1.26",25) #P | |
| counter = counter + 1 |
| // discharge internal - 1 | |
| Delay_us(10); | |
| SPI_send(this->EPD_Pin_EPD_CS, CU8(0x70, 0x04), 2); | |
| Delay_us(10); | |
| SPI_send(this->EPD_Pin_EPD_CS, CU8(0x72, 0x50), 2); | |
| Delay_ms(50); | |
| // discharge internal - 2 | |
| Delay_us(10); |
| void setup() { | |
| pinMode(P1_3, INPUT_PULLUP); // Attach pullup to 1.3 (button) | |
| attachInterrupt(P1_3, awake, FALLING); // Attach falling interrupt to 1.3 | |
| } | |
| // main loop | |
| void loop() { | |
| digitalWrite(Pin_RED_LED, LED_ON); | |
| changeimage(); // Change the picture | |
| digitalWrite(Pin_RED_LED, LED_OFF); |
| #!/usr/bin/env python | |
| import phant | |
| import time | |
| import pywapi | |
| import Adafruit_BBIO.ADC as ADC | |
| ADC.setup() | |
| # phant.py from https://github.com/matze/python-phant |
I hereby claim:
To claim this, I am signing this object: