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
/dts-v1/; | |
/plugin/; | |
/{ | |
compatible = "rockchip,rockpi","rockchip,rk3399"; | |
fragment@0 { | |
target = <&i2c4>; | |
__overlay__ { |
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
# -*- coding: utf-8 -*- | |
""" | |
Animated 3D sinc function | |
""" | |
from pyqtgraph.Qt import QtCore, QtGui | |
import pyqtgraph.opengl as gl | |
import pyqtgraph as pg | |
import numpy as np | |
import sys |
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 cv2 | |
from directkeys import PressKey, ReleaseKey | |
from grabscreen import grab_screen | |
import numpy as np | |
import pyautogui | |
from sklearn.cluster import KMeans | |
import threading | |
import time | |
uhd_x = 1520 |