Skip to content

Instantly share code, notes, and snippets.

View danielsotopino's full-sized avatar
🏠
Working from home

Daniel Soto danielsotopino

🏠
Working from home
View GitHub Profile
# RF NANO
## Información del nano
https://www.embeddedcomputing.com/technology/processing/for-the-professional-maker-getting-started-with-the-rf-nano-arduino-nrf24l01-combo
https://github.com/JeremySCook/emakefun-nano-plus
Arduino Pro Micro With 2.4G ATmega32U4 NRF24L01
https://maxelectronica.cl/tarjetas-arduino/871-arduino-micro-pro-rf-micro-usb-con-nrf24l01-integrado.html
https://ja-bots.com/wp-content/uploads/2021/01/Datasheet_32U4.pdf
ICSP PINS 16, 14 - 11, 10 - 10, 9
@danielsotopino
danielsotopino / synchronousPromises.js
Created December 15, 2017 03:25
Synchronous recursive promises
$scope.recurse = function(promises, promisesLength, results) {
if (promisesLength === 1) {
return promises[0].then(function(data){
results.push(data);
return results;
});
}
return promises[promisesLength-1].then(function(data) {

# Hello

#include <ESP8266WiFi.h>

const char* ssid = ""; const char* password = ""; const int sensorPin = A0;

WiFiServer server(80);

Unicode chars
á \u00E1
é \u00E9
í \u00ED
ó \u00F3
ú \u00FA
Ú \u00DA
ñ \u00F1
@danielsotopino
danielsotopino / PATTERNS
Created October 24, 2015 18:11
REGEX PATTERNS
Pattern for 12.34
^\\d+\\.?\\d{0,2}$
@danielsotopino
danielsotopino / TextWatcherExample
Last active October 7, 2015 19:07
[Android] Replace EditText text on user input.
editText.addTextChangedListener(new TextWatcher() {
@Override
public void onTextChanged(CharSequence s, int start,
int before, int count) {
}
@Override
public void beforeTextChanged(CharSequence s, int start,
int count, int after) {
}