Skip to content

Instantly share code, notes, and snippets.

View etix's full-sized avatar

Ludovic Fauvet etix

View GitHub Profile
@etix
etix / lowpower.ino
Created August 24, 2020 09:55
Mini Ultra Pro V3 with RFM95: 18μA in standby (stock, without external component)
#include <SerialFlash.h>
#include <RTCZero.h>
#include <SPI.h>
#include <RH_RF95.h>
//#include <RH_RF69.h>
// ***** CONSTANTS *****
const int radioDio0 = 2;
const int flashChipSelect = 4;
const int radioChipSelect = 5;
diff --git a/scan.go b/scan.go
index a21f075..69395c0 100644
--- a/scan.go
+++ b/scan.go
@@ -10,6 +10,7 @@ import (
"os"
"path/filepath"
"strconv"
+ "strings"
"time"
# gopkgs.com/magick.v1
.gopack/vendor/src/gopkgs.com/magick.v1/gif.c: In function ‘gif_save’:
.gopack/vendor/src/gopkgs.com/magick.v1/gif.c:142:29: error: too few arguments to function ‘EGifOpen’
GifFileType *gif_file = EGifOpen(&buf, gif_buffer_write);
^
In file included from .gopack/vendor/src/gopkgs.com/magick.v1/gif.c:10:0:
/usr/include/gif_lib.h:129:14: note: declared here
GifFileType *EGifOpen(void *userPtr, OutputFunc writeFunc, int *Error);
^
.gopack/vendor/src/gopkgs.com/magick.v1/gif.c:147:9: error: too few arguments to function ‘EGifCloseFile’

Keybase proof

I hereby claim:

  • I am etix on github.
  • I am etix (https://keybase.io/etix) on keybase.
  • I have a public key whose fingerprint is 2C48 9FD4 F549 2474 ED45 0A1D 40F6 0825 6F52 F1CE

To claim this, I am signing this object: