This file contains hidden or 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 14f33b1ebb5a8eec392efd085c2ecf88766be616 Mon Sep 17 00:00:00 2001 | |
From: Mia Metzler <[email protected]> | |
Date: Sun, 13 Apr 2025 13:38:10 +0200 | |
Subject: [PATCH] Add onewire | |
--- | |
platformio.ini | 1 + | |
.../Telemetry/EnvironmentTelemetry.cpp | 14 +++++- | |
.../Telemetry/Sensor/OnewireSensor.cpp | 45 +++++++++++++++++++ | |
src/modules/Telemetry/Sensor/OnewireSensor.h | 31 +++++++++++++ |
This file contains hidden or 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 72b54c40a8f0b618d54f9ca32c05b2e9f9f650d2 Mon Sep 17 00:00:00 2001 | |
From: Your Name <[email protected]> | |
Date: Mon, 13 Jan 2025 20:35:18 +0000 | |
Subject: [PATCH] st7735 patch | |
--- | |
.../dts_riscv/cv1813h_milkv_duos_sd.dts | 17 ++++++- | |
.../cvitek_cv1813h_milkv_duos_sd_defconfig | 2 + | |
.../milkv-duos-sd_musl_riscv64_defconfig | 5 +- | |
linux_5.10/drivers/staging/fbtft/fbtft-core.c | 46 ++++++++++++++----- |
This file contains hidden or 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
#cloud-config | |
package_update: true | |
package_upgrade: true | |
packages: | |
# Update the apt package index and install packages needed to use the Docker and Kubernetes apt repositories over HTTPS | |
- apt-transport-https | |
- ca-certificates | |
- curl | |
- gnupg | |
- lsb-release |
This file contains hidden or 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
#This application is a creative project idea | |
#It captures live audio and maps it realtime to rgb values | |
#It is a fun way to visualize sound | |
#But the performance is not good enough to be used as a (actual) visualizer, its really slow | |
import pyaudio | |
import numpy as np | |
import time | |
import sys | |
import math |
This file contains hidden or 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 | |
set -e | |
while : | |
do | |
for i in {1..5} | |
do | |
espeak "work" | |
done |
This file contains hidden or 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
//ABP | |
//ABP | |
//ABP | |
#include "LoRaWan_APP.h" | |
#include "Arduino.h" | |
#include "mywire.h" | |
#include <OneWire.h> | |
OneWire ds(GPIO5); // on pin GPIO1 PIN 6 (a 4.7K resistor is necessary) |
This file contains hidden or 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
#include <GxEPD.h> | |
#include <GxGDEP015OC1/GxGDEP015OC1.cpp> | |
#include <Fonts/OpenSansBold12pt7b.h> | |
#include <Fonts/OpenSansBold14pt7b.h> | |
#include <Fonts/OpenSansBold30pt7b.h> | |
#include <GxIO/GxIO_SPI/GxIO_SPI.cpp> | |
#include <GxIO/GxIO.cpp> | |
#include GxEPD_BitmapExamples |
This file contains hidden or 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 gitlab/gitlab-ce:latest | |
RUN echo "postfix postfix/main_mailer_type select Internet Site" | debconf-set-selections \ | |
&& echo "postfix postfix/mailname string mysubdomain.mydomain.com" | debconf-set-selections \ | |
&& apt-get install -y postfix | |
RUN apt-get install -y \ | |
mailutils | |
RUN grep -q postfix-start.sh /assets/wrapper || sed -i \ |
This file contains hidden or 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
Notes to make IR shield (made by LinkSprite) work in Raspberry Pi 3 (bought from Amazon [1]). | |
The vendor has some documentation [2] but that is not complete and sufficient for Raspbian Stretch. | |
Following are the changes that I made to make it work. | |
$ sudo apt-get update | |
$ sudo apt-get install lirc | |
# Add the following lines to /etc/modules file | |
lirc_dev | |
lirc_rpi gpio_in_pin=18 gpio_out_pin=17 |