One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
""" | |
main.py | |
Author: Robert (Duality) | |
Git: https://github.com/Duality4y | |
notes: | |
this is an implementation of the strange attractor in python. | |
using pygame to draw it. | |
details can be found here: | |
https://en.wikipedia.org/wiki/Lorenz_system |
# Released by rdb under the Unlicense (unlicense.org) | |
# Based on information from: | |
# https://www.kernel.org/doc/Documentation/input/joystick-api.txt | |
import os, struct, array | |
from fcntl import ioctl | |
# Iterate over the joystick devices. | |
print('Available devices:') |
char *in = "!%40%23%24%25%5e%26*()_%2b"; | |
char *out = "000000000000000000000000000000"; | |
void setup(){ | |
Serial.begin(9600); | |
while(!Serial){ | |
; | |
} | |
Serial.println(in); | |
urldecode2(out,in); |