Skip to content

Instantly share code, notes, and snippets.

Markus Links2004

  • Germany
Block or report user

Report or block Links2004

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Links2004
Links2004 / samsungTestPattern.html
Last active Jan 30, 2019
creates a Test Pattern for Samsung HDMI calibration (ADC) use 720p@60Hz
View samsungTestPattern.html
<html>
<!--
Samsung Test Pattern Generator
creates a Test Pattern for HDMI calibration (ADC)
use arrow keys to change pattern and Space to invert
has worked for my fine at 720p @ 60Hz with 8x8
-->
<head>
@Links2004
Links2004 / multi_one_wire.cpp
Created Oct 6, 2018
Arduino async multi onewire 1wire bus
View multi_one_wire.cpp
/*
*
* Created on: Jul 21, 2018
* Author: links
*/
#include <OneWire.h>
#include "dev_ids.h"
#ifdef ARDUINO_AVR_MEGA2560
@Links2004
Links2004 / map.txt
Last active Feb 7, 2017
CSL Panther Tab 7 (Z3735G 1GB RAM) GPIO mapping
View map.txt
########### cat /sys/kernel/debug/gpio ###############
gpiochip2: GPIOs 338-381, parent: platform/INT33FC:02, INT33FC:02:
gpio-0 (Unrequested ) in hi pad-29 offset:0x3a0 mux:0 fall level up 20k
gpio-1 (Unrequested ) in out lo pad-33 offset:0x420 mux:0
gpio-2 (Unrequested ) in out hi pad-30 offset:0x3c0 mux:0
gpio-3 (Unrequested ) in hi pad-31 offset:0x3e0 mux:0 fall level # Touch screen touched - may by IRQ of touch chip
gpio-4 (Unrequested ) in lo pad-32 offset:0x400 mux:0 down 20k
gpio-5 (Unrequested ) in lo pad-34 offset:0x440 mux:1 down 20k
gpio-6 (ACPI:Event ) in hi pad-36 offset:0x480 mux:0 fall rise up 20k
@Links2004
Links2004 / auto_rotate.sh
Created Feb 5, 2017
Linux auto rotate screen and adjust touch matrix based on accelerometer data
View auto_rotate.sh
#!/bin/bash
# Auto rotate screen based on device orientation
# based on https://linuxappfinder.com/blog/auto_screen_rotation_in_ubuntu
# install
# 1. apt-get install iio-sensor-proxy inotify-tools
# 2. add script to autostart
# Receives input from monitor-sensor (part of iio-sensor-proxy package)
# Screen orientation and launcher location is set based upon accelerometer position
View WebSocketWithLeds.cpp
#include <Arduino.h>
#include <ESP8266mDNS.h>
#include <ESP8266WiFi.h>
#include <Adafruit_NeoPixel.h>
#include <Thread.h>
#include <ThreadController.h>
#include <WebSocketsServer.h>
//Wifi Settings
const char* ssid = "RocketzNode";
View WebSocketLeds.cpp
#include <Arduino.h>
#include <WebSocketsServer.h>
#include <ESP8266mDNS.h>
#include <ESP8266WiFi.h>
#include <Hash.h>
#include <Adafruit_NeoPixel.h>
@Links2004
Links2004 / ino.cpp
Last active Nov 5, 2015 — forked from funvill/ino
Trying to get Ethernet libary working on the esp8266 chipset https://github.com/esp8266/Arduino/issues/962
View ino.cpp
#include <SPI.h> // needed for Arduino versions later than 0018
#include <Ethernet.h>
#include <EthernetUdp.h> // UDP library from: bjoern@cs.stanford.edu 12/30/2008
// Enter a MAC address and IP address for your controller below.
// The IP address will be dependent on your local network:
byte mac[] = {0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
IPAddress ip(192, 168, 1, 177);
IPAddress remote(192, 168, 1, 5);
You can’t perform that action at this time.