Skip to content

Instantly share code, notes, and snippets.

View desireesantos's full-sized avatar

Desiree Santos desireesantos

View GitHub Profile
@desireesantos
desireesantos / play_wave
Last active August 29, 2015 14:26
Executar arquivos .wav utilzando festival lite
/*************************************************************************/
/* */
/* Language Technologies Institute */
/* Carnegie Mellon University */
/* Copyright (c) 2000 */
/* All Rights Reserved. */
/* */
/* Permission is hereby granted, free of charge, to use and distribute */
/* this software and its documentation without restriction, including */
/* without limitation the rights to use, copy, modify, merge, publish, */
@desireesantos
desireesantos / gist:e22d09dc91140acd4b901050b8d507a7
Created March 12, 2018 00:30
WatchDog solution to reset arduino every 4 seconds
#include <avr/wdt.h>
void setup() {
//Reset arduino every 4 seconds WDTO_4S
//https://www.nongnu.org/avr-libc/user-manual/group__avr__watchdog.html#ga9e52c54d10b6a6a7ce04aaaa4abea51f
wdt_enable(WDTO_4S);
Serial.begin(9600);
}
void loop() {