Skip to content

Instantly share code, notes, and snippets.

View m-alcu's full-sized avatar

Martin Alcubierre Arenillas m-alcu

View GitHub Profile
@m-alcu
m-alcu / dcf77-meteotime-data.ino
Created May 24, 2020 10:15
Get meteotime data from DCF77
//
// www.blinkenlight.net
//
// Copyright 2016 Udo Klein
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
/*
PROGMEM string demo
How to store a table of strings in program memory (flash),
and retrieve them.
Information summarized from:
http://www.nongnu.org/avr-libc/user-manual/pgmspace.html
Setting up a table (array) of strings in program memory is slightly complicated, but
here is a good template to follow.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@m-alcu
m-alcu / ay_player.ino
Created March 18, 2019 19:14 — forked from anteo/ay_player.ino
Arduino UNO + AY player
#include <SPI.h>
#include "SdFat.h"
#include <LiquidCrystal.h>
const byte pinClock = 3; // AY38910 clock
const byte pinReset = 2; // AY38910 reset
const byte pinBC1 = 8; // AY38910 BC1
const byte pinBDIR = 9; // AY38910 BDIR
const byte pinSHCP = 4; // 74HC595 clock
const byte pinSTCP = 5; // 74HC595 latch
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@m-alcu
m-alcu / mnist_cuda.ipynb
Created March 10, 2018 11:13
nmist pytorch example with 0.4 pytorch version
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@m-alcu
m-alcu / ImageProcessing.ipynb
Created February 18, 2018 10:28
Image processing samples
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@m-alcu
m-alcu / pytorchLogistic.ipynb
Created February 10, 2018 17:15
pytorch logistic regression
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.