Skip to content

Instantly share code, notes, and snippets.

View luisfcorreia's full-sized avatar

Luis Correia luisfcorreia

View GitHub Profile
@celso
celso / xbee.c
Created January 11, 2024 18:06
void wifiInitialize() {
#if DEBUG_WIFI == 1
SERIAL_PRINTLN(F("Initializing Wifi"));
#endif
pinMode(WIFI_RESET_PIN, OUTPUT);
digitalWrite(WIFI_RESET_PIN,HIGH);
wifiReset();
Serial1.begin(9600); // used with the wifi
SimpleWifi.setUart(&Serial1); // Tell the wifi library that we are not using the SPIUart
SimpleWifi.begin();
@nosuchuser
nosuchuser / gist:21db3fdd9f4b80bf0910f8b8b6ea2f63
Created March 4, 2018 18:54
dnsmasq.conf configuration for vodafone IPTV
server=/.iptvpoc.alu/.discovery.iptv.microsoft.com/.iptv.vodafone.pt/.iptvdiscovery/.ims.vodafone.pt/192.168.1.1
anonymous
anonymous / microTS.ino
Created April 29, 2017 18:05
Source code for the micro-TS key fob synthesizer
// (*) All in the spirit of open-source and open-hardware
// Janost 2017 Sweden
 
// The Micro-TS Key fob Touch Synthesizer
// https://janostman.wordpress.com/the-microts-diy-synth/
 
// Copyright 2017 DSP Synthesizers Sweden.
//
// Author: Jan Ostman
//
@genericpenguin
genericpenguin / synth.cpp
Created January 17, 2016 20:55
Arduino Synth
/* Arduino Synth from
https://janostman.wordpress.com/2016/01/15/how-to-build-your-very-own-string-synth/
*/
#include <avr/interrupt.h>
#include <avr/io.h>
#include <avr/pgmspace.h>
#ifndef cbi
#define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit))
#endif
#ifndef sbi