Skip to content

Instantly share code, notes, and snippets.

View lvidarte's full-sized avatar

Leo Vidarte lvidarte

View GitHub Profile
#!/usr/bin/python3
"""
Author: Leo Vidarte <http://nerdlabs.com.ar>
This is free software,
you can redistribute it and/or modify it
under the terms of the GPL version 3
as published by the Free Software Foundation.
#!/usr/bin/python3
"""
Author: Leo Vidarte <http://nerdlabs.com.ar>
This is free software,
you can redistribute it and/or modify it
under the terms of the GPL version 3
as published by the Free Software Foundation.
#!/usr/bin/python3
"""
Author: Leo Vidarte <http://nerdlabs.com.ar>
This is free software,
you can redistribute it and/or modify it
under the terms of the GPL version 3
as published by the Free Software Foundation.
package main
import (
"bytes"
"fmt"
"log"
"os/exec"
"strings"
)
@lvidarte
lvidarte / main.cpp
Created May 26, 2017 13:43
EEPROM ESP8266
#include <Arduino.h>
#include <EEPROM.h>
void setup ()
{
Serial.begin(115200);
EEPROM.begin(512);
int value = EEPROM.read(0);
@lvidarte
lvidarte / esp_car.py
Created May 15, 2017 19:33
Python shell to control an ESP8266 car
#!/usr/bin/python -i
import os
import atexit
import readline
import rlcompleter
import requests
import time
DEBUG = False
@lvidarte
lvidarte / main.cpp
Created May 12, 2017 14:59
VU Meter with NodeMCU and KY-037
#include <Arduino.h>
#include <Adafruit_NeoPixel.h>
#define NUM_PIXELS 10
#define PIN_PIXELS 14
#define AUDIO_ANALOG A0
#define AUDIO_DIGITAL 12
void setup ()
{
Serial.begin(115200);
}
void loop ()
{
Serial.println("hola");
delay(1000);
}
@lvidarte
lvidarte / esp-car.py
Created April 4, 2017 01:00
ESP Car python shell
#!/usr/bin/python -i
import os
import atexit
import readline
import rlcompleter
import requests
import time
@lvidarte
lvidarte / ps3-dual.xml
Created February 17, 2017 16:50
GIMX ps3 config for two adapters
<?xml version="1.0" encoding="UTF-8"?>
<root>
<controller id="1" dpi="5700" type="Sixaxis">
<configuration id="1">
<trigger type="" id="" name="" button_id="" switch_back="no" delay="0"/>
<mouse_options_list>
<mouse name="" id="0" mode="Aiming" buffer_size="1" filter="0.00"/>
</mouse_options_list>
<intensity_list/>
<button_map>