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
Shader "test/wipe" { | |
Properties{ | |
_MainTex("Water Texture", 2D) = "blue" {} | |
} | |
SubShader{ | |
Tags { "RenderType" = "Opaque" } | |
LOD 200 | |
CGPROGRAM | |
#pragma surface surf Standard fullforwardshadows |
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 <M5Stack.h> | |
int isRandomScreen = 0; | |
int isRandomMode = 0; | |
int colorMode = 0; | |
int colorChangeCounter = 0; | |
int COLORCHANGEWAIT = 80000; | |
int colorNumber[] = {BLACK, MAROON, RED, ORANGE, YELLOW, GREEN, BLUE, PURPLE, LIGHTGREY, WHITE}; | |
int color[] = {0,0,0}; | |
int screenColor[] = {-1,-1,-1}; |
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 <M5Stack.h> | |
#include <WiFi.h> | |
#include <time.h> | |
#include "AquesTalkTTS.h" | |
#include <WS2812FX.h> | |
#define LED_COUNT 24 | |
#define LED_PIN 5 |
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 m5stack import * | |
from machine import UART | |
import time | |
val = '' | |
lcd.setColor(lcd.BLACK, lcd.WHITE) | |
lcd.clear(lcd.WHITE) | |
uart2 = UART(2, tx=17, rx=16) |
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/sh | |
# I put all my dev stuff in here | |
export DEV_PREFIX=$HOME/Dev/ | |
# Don't forget to adjust this to your NDK path | |
export ANDROID_NDK=${DEV_PREFIX}/android-ndk-r8d/ | |
export CROSS_COMPILE=arm-linux-androideabi |