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
${c4}⠘⣿⣦ | |
⢀⣶⣆ ⢿${c3}⣿${c4}⣧ | |
⢸${c3}⣿${c4}⣿⡄ ⢸${c3}⣿⣿${c4}⡇ | |
⢸${c3}⣿⣿${c4}⣷ ⢀⣿${c3}⣿⣿${c4}⠇⢀⣠⣶⣾⣿⣿⣷⣶⣤ | |
⢀⣀⣀⣀⣀ ⣸${c3}⣿⣿${c4}⣿⣷⣶⣶⣶⣶⣾⣿${c3}⣿⣿${c4}⣶⣿${c1}⣿⣿${c2}⣿⣿⣿⣿${c4}⣿⡿ | |
⢀⣴⣿⣿${c1}⣿⣿⣿${c4}⣿⣿⣿⣿${c1}⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿${c4}⣿⣿⣿${c2}⣿⣿⣿${c4}⣿⠿⠟⠋ | |
⣴⣿⣿${c2}⣿⣿⣿⣿⣿⣿${c4}⣿⣿${c1}⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿${c4}⣿⣿⠛⠛⠉ | |
⠈⠙⠛⠿⠿⠿⠿⠛⠉⢻⣿${c1}⣿⣿⣿⣿⣿⣿⣿⣿${c4}⣿⣿${c1}⣿⣿${c4}⣿⣿⡇ | |
⢿⣿${c1}⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿${c4}⣿⣷ | |
⣀⣠⣼⣿${c1}⣿⣿${c4}⣿⣿${c1}⣿⣿⣿⣿⣿⣿⣿⣿${c4}⣿⣿⡀ |
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
// | |
// esp32 rgb controller | |
// | |
// hardware: | |
// > Wemos D1 R32 'ESPDuino-32' (https://amazon.ca/CANADUINO-ESPDuino-32-Bluetooth-Dual-Core-Processor/dp/B07P1L7839) | |
// -- note: may not upload if speed is too high, set to 115200 if errors occur | |
// > Velleman Arduino RGB Shield KA01 (https://www.velleman.eu/products/view/?id=412138) | |
// > random rgb strip from somewhere | |
// authors: | |
// > lola robins (lola@robinssoftware.ca) |
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
#include <ArduinoJson.h> | |
#include <Preferences.h> | |
#include <WiFi.h> | |
#include <WebServer.h> | |
#include <Adafruit_GFX.h> | |
#include <ESP32-HUB75-MatrixPanel-I2S-DMA.h> | |
#include <HTTPClient.h> | |
#include <JPEGDecoder.h> | |
#include <mbedtls/base64.h> |
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
.global _start | |
.align 2 | |
_start: | |
mov X16, #4 | |
mov X0, #1 | |
adr X1, str | |
mov X2, len | |
svc 0 |
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
global _start | |
section .data | |
msg db 0x1b, "[46;1m ", 0x1b, "[0m", 0x0a, 0x1b, "[45;1m ", 0x1b, "[0m", 0x0a, 0x1b, "[47;1m ", 0x1b, "[0m", 0x0a, 0x1b, "[45;1m ", 0x1b, "[0m", 0x0a, 0x1b, "[46;1m ", 0x1b, "[0m", 0x0a | |
len equ $ - msg | |
section .print | |
_start: | |
mov eax, 4 | |
mov ebx, 1 |
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
#include <stdio.h> | |
int main(int argc, char *argv[]) | |
{ | |
// bar 1 | |
printf("\033[44;1m \n"); | |
// bar 2 | |
printf("\033[45;1m \n"); | |
// bar 3 | |
printf("\033[47;1m \n"); |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdbool.h> | |
#include <time.h> | |
char board[9]; | |
bool win() | |
{ | |
// row checking |
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
#include <stdio.h> | |
#include <ctype.h> | |
#include <time.h> | |
#include <stdlib.h> | |
typedef char *string; | |
typedef enum boolean | |
{ | |
false, |
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
${c1} -/oyddmdhs+:. | |
-o${c2}dNMMMMMMMMNNmhy+${c1}-` | |
-y${c2}NMMMMMMMMMMMNNNmmdhy${c1}+- | |
`o${c2}mMMMMMMMMMMMMNmdmmmmddhhy${c1}/` | |
om${c3}MMMMMMMMMMMN${c1}hhyyyo${c3}hmdddhhhd${c1}o` | |
.y${c3}dMMMMMMMMMMd${c1}hs++so/s${c3}mdddhhhhdm${c1}+` | |
oy${c3}hdmNMMMMMMMN${c1}dyooy${c3}dmddddhhhhyhN${c1}d. | |
:o${c4}yhhdNNMMMMMMMNNNmmdddhhhhhyym${c1}Mh | |
.:${c4}+sydNMMMMMNNNmmmdddhhhhhhmM${c1}my | |
/m${c4}MMMMMMNNNmmmdddhhhhhmMNh${c1}s: |