diff --git a/CAB-14720 + WRL-14498/RockBlock Cable.PNG b/CAB-14720 + WRL-14498/RockBlock Cable.PNG new file mode 100644 index 0000000..a5aa362 Binary files /dev/null and b/CAB-14720 + WRL-14498/RockBlock Cable.PNG differ diff --git a/DEV-12651/Sandbox Stuff.zip b/DEV-12651/Sandbox Stuff.zip new file mode 100644 index 0000000..650016b Binary files /dev/null and b/DEV-12651/Sandbox Stuff.zip differ diff --git a/DEV-12923/Time Library for Microview.zip b/DEV-12923/Time Library for Microview.zip new file mode 100644 index 0000000..d7fe58c Binary files /dev/null and b/DEV-12923/Time Library for Microview.zip differ diff --git a/DEV-13116/Spectrum Shield LED working.zip b/DEV-13116/Spectrum Shield LED working.zip new file mode 100644 index 0000000..bb0058f Binary files /dev/null and b/DEV-13116/Spectrum Shield LED working.zip differ diff --git a/DEV-16653/ili-init.sh b/DEV-16653/ili-init.sh new file mode 100644 index 0000000..8c0438e --- /dev/null +++ b/DEV-16653/ili-init.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +echo -en " Inserting fbtft_device kernel module with custom init & GPIO config... " + +sudo modprobe fbtft_device name=fb_ili9341 gpios=reset:23,dc:24 speed=16000000 bgr=1 rotate=180 custom=1 init=\ +-1,0x28,-2,20,-1,0xCF,0x00,0x83,0x30,-1,0xED,0x64,0x03,0x12,0x81,-1,0xE8,0x85,0x01,0x79,\ +-1,0xCB,0x39,0x2c,0x00,0x34,0x02,-1,0xF7,0x20,-1,0xEA,0x00,0x00,-1,0xC0,0x26,-1,0xC1,0x11,\ +-1,0xC5,0x35,0x3E,-1,0xC7,0xBE,-1,0xB1,0x00,0x1B,-1,0xB6,0x0a,0x82,0x27,0x00,-1,0xB7,0x07,\ +-1,0x3A,0x55,-1,0x36,0x38,-1,0x11,-2,120,-1,0x29,-2,20,-3 + + +if [ $? -ne 0 ]; then + echo -e "\033[31mINIT FAILED.\033[0m" + exit 1 +fi + +echo -e "\033[32mINIT OK.\033[0m" + +con2fbmap 1 1 diff --git a/DEV-16653/ili-init_touch.sh b/DEV-16653/ili-init_touch.sh new file mode 100644 index 0000000..023fcf7 --- /dev/null +++ b/DEV-16653/ili-init_touch.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +echo -en " Inserting fbtft_device kernel module with custom init & GPIO config... " + +sudo modprobe fbtft_device name=fb_ili9341 gpios=reset:23,dc:24 speed=16000000 bgr=1 rotate=180 custom=1 init=\ +-1,0x28,-2,20,-1,0x21,-1,0xCF,0x00,0x83,0x30,-1,0xED,0x64,0x03,0x12,0x81,-1,0xE8,0x85,0x01,0x79,\ +-1,0xCB,0x39,0x2c,0x00,0x34,0x02,-1,0xF7,0x20,-1,0xEA,0x00,0x00,-1,0xC0,0x26,-1,0xC1,0x11,\ +-1,0xC5,0x35,0x3E,-1,0xC7,0xBE,-1,0xB1,0x00,0x1B,-1,0xB6,0x0a,0x82,0x27,0x00,-1,0xB7,0x07,\ +-1,0x3A,0x55,-1,0x36,0x38,-1,0x11,-2,120,-1,0x29,-2,20,-3 + + +if [ $? -ne 0 ]; then + echo -e "\033[31mINIT FAILED.\033[0m" + exit 1 +fi + +echo -e "\033[32mINIT OK.\033[0m" + +con2fbmap 1 1 diff --git a/DEV-16653/unili.sh b/DEV-16653/unili.sh new file mode 100644 index 0000000..829bc21 --- /dev/null +++ b/DEV-16653/unili.sh @@ -0,0 +1,28 @@ +#!/bin/bash + +error_str="" + +echo -en " Restoring tty1 mapping to fb0... " +con2fbmap 1 0 1>error_str 2>>error_str + +if [ $? -ne 0 ]; then + echo -e "\033[31mFAILED\033[1;31m:" + echo $err_str + echo -e "\033[0m" + exit 1 +fi + +echo -e "\033[32mOK\033[0m" + +echo -en " Removing fbtft_device module from kernel... " + +rmmod -f fbtft_device + +if [ $? -ne 0 ]; then + echo -e "\n\033[31mRMMOD FAILED\033[0m" + exit 2 +fi + +echo -e "\033[32mOK\033[0m" + + diff --git a/DEV-16653/wm8960.txt b/DEV-16653/wm8960.txt new file mode 100644 index 0000000..ff2020f --- /dev/null +++ b/DEV-16653/wm8960.txt @@ -0,0 +1,66 @@ +[ 5.674789] systemd[1]: Configuration file /lib/systemd/system/wm8960-soundcard.service is marked executable. Please remove executable permission bits. Proceeding anyway. +[ 7.114079] snd_soc_wm8960: loading out-of-tree module taints kernel. +[ 9.210530] asoc-simple-card soc:sound: wm8960-hifi <-> 3f203000.i2s mapping ok +[ 9.240144] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned. +[ 9.308419] Error: Driver 'asoc-simple-card' is already registered, aborting... + + +from __future__ import print_function + +import sys +import wave +import getopt +import alsaaudio + +def play(device, f): + + print('%d channels, %d sampling rate\n' % (f.getnchannels(), + f.getframerate())) + # Set attributes + device.setchannels(f.getnchannels()) + device.setrate(f.getframerate()) + + # 8bit is unsigned in wav files + if f.getsampwidth() == 1: + device.setformat(alsaaudio.PCM_FORMAT_U8) + # Otherwise we assume signed data, little endian + elif f.getsampwidth() == 2: + device.setformat(alsaaudio.PCM_FORMAT_S16_LE) + elif f.getsampwidth() == 3: + device.setformat(alsaaudio.PCM_FORMAT_S24_LE) + elif f.getsampwidth() == 4: + device.setformat(alsaaudio.PCM_FORMAT_S32_LE) + else: + raise ValueError('Unsupported format') + + periodsize = int(f.getframerate() / 8) + + device.setperiodsize(periodsize) + + data = f.readframes(periodsize) + while data: + # Read data from stdin + device.write(data) + data = f.readframes(periodsize) + + +def usage(): + print('usage: playwav.py [-d ] ', file=sys.stderr) + sys.exit(2) + +if __name__ == '__main__': + + opts, args = getopt.getopt(sys.argv[1:], 'd:') + for o, a in opts: + if o == '-d': + device = a + + if not args: + usage() + + f = wave.open(args[0], 'rb') + device = alsaaudio.PCM(device="default") + + play(device, f) + + f.close() \ No newline at end of file diff --git a/Drivers/FTDI - Instructions/FTDI Driver Installation.zip b/Drivers/FTDI - Instructions/FTDI Driver Installation.zip new file mode 100644 index 0000000..5c7b981 Binary files /dev/null and b/Drivers/FTDI - Instructions/FTDI Driver Installation.zip differ diff --git a/Drivers/FTDI - Instructions/FTDI VCP Drivers.zip b/Drivers/FTDI - Instructions/FTDI VCP Drivers.zip new file mode 100644 index 0000000..fd75dae Binary files /dev/null and b/Drivers/FTDI - Instructions/FTDI VCP Drivers.zip differ diff --git a/Drivers/ProMicro + Fio - Driver Update/ProMicro and Fio Windows 10 Installation.zip b/Drivers/ProMicro + Fio - Driver Update/ProMicro and Fio Windows 10 Installation.zip new file mode 100644 index 0000000..d95bcf4 Binary files /dev/null and b/Drivers/ProMicro + Fio - Driver Update/ProMicro and Fio Windows 10 Installation.zip differ diff --git a/Drivers/Windows-CH340-Driver.zip b/Drivers/Windows-CH340-Driver.zip new file mode 100644 index 0000000..29351cb Binary files /dev/null and b/Drivers/Windows-CH340-Driver.zip differ diff --git a/KIT-11576/SIK v3 Experiment 14.zip b/KIT-11576/SIK v3 Experiment 14.zip new file mode 100644 index 0000000..6185eca Binary files /dev/null and b/KIT-11576/SIK v3 Experiment 14.zip differ diff --git a/PGM-11801/usbtinyisp_libusb_1.2.6.0.zip b/PGM-11801/usbtinyisp_libusb_1.2.6.0.zip new file mode 100644 index 0000000..1db1d9e Binary files /dev/null and b/PGM-11801/usbtinyisp_libusb_1.2.6.0.zip differ diff --git a/ROB-14342/uArm Reconfiguration.zip b/ROB-14342/uArm Reconfiguration.zip new file mode 100644 index 0000000..d1579f7 Binary files /dev/null and b/ROB-14342/uArm Reconfiguration.zip differ diff --git a/SEN-14001/RazorBluetooth.zip b/SEN-14001/RazorBluetooth.zip new file mode 100644 index 0000000..f2869c0 Binary files /dev/null and b/SEN-14001/RazorBluetooth.zip differ diff --git a/SEN-14001/RazorMouse.zip b/SEN-14001/RazorMouse.zip new file mode 100644 index 0000000..3594422 Binary files /dev/null and b/SEN-14001/RazorMouse.zip differ diff --git a/SEN-14066/URAx64_v3.4.zip b/SEN-14066/URAx64_v3.4.zip new file mode 100644 index 0000000..f790924 Binary files /dev/null and b/SEN-14066/URAx64_v3.4.zip differ diff --git a/SEN-14518+14585/Fingerprint Scanner GT-521FX2.zip b/SEN-14518+14585/Fingerprint Scanner GT-521FX2.zip new file mode 100644 index 0000000..89e4431 Binary files /dev/null and b/SEN-14518+14585/Fingerprint Scanner GT-521FX2.zip differ diff --git a/TOL-18627/USB Logic Analyzer.zip b/TOL-18627/USB Logic Analyzer.zip new file mode 100644 index 0000000..f3f6a00 Binary files /dev/null and b/TOL-18627/USB Logic Analyzer.zip differ diff --git a/WRL-13711/ESP8266 AP Example- Pulse Motor.zip b/WRL-13711/ESP8266 AP Example- Pulse Motor.zip new file mode 100644 index 0000000..bfbea1a Binary files /dev/null and b/WRL-13711/ESP8266 AP Example- Pulse Motor.zip differ