Limpieza de archivos innecesarios según .gitignore

main
EMOTIONS-HUNTER 1 week ago
parent 7c423a8266
commit e158168c36

21
.gitignore vendored

@ -0,0 +1,21 @@
# Carpetas de compilación y entorno
.pio/
.vs/
.vscode/
build/
bin/
obj/
# Archivos de configuración locales
*.code-workspace
.DS_Store
# Archivos binarios y de salida
*.hex
*.bin
*.elf
*.map
# Archivos de depuración y logs
*.log
*.tmp

@ -1 +1 @@
{ "temperature": 24.414 }
{ "temperature": 24.900 }

@ -29,15 +29,6 @@ int main()
if (f)
{
time_t now = time(NULL);
struct tm *t = localtime(&now);
char timestamp[32];
strftime(timestamp,
sizeof(timestamp),
"%Y-%m-%d %H:%M:%S",
t);
fprintf(f,
"{ \"temperature\": %.3f }\n",
temperature);
@ -53,14 +44,6 @@ int main()
if (log)
{
time_t now = time(NULL);
struct tm *t = localtime(&now);
char timestamp[32];
strftime(timestamp,
sizeof(timestamp),
"%Y-%m-%d %H:%M:%S",
t);
fprintf(log,
"%ld,%.3f\n",

Loading…
Cancel
Save