repo_id stringlengths 6 101 | size int64 367 5.14M | file_path stringlengths 1 269 | content stringlengths 367 5.14M |
|---|---|---|---|
0015/esp_rlottie | 7,405 | rlottie/example/lottieviewer.cpp | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |
0015/esp_rlottie | 14,747 | rlottie/example/lottieview.h | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |
0015/esp_rlottie | 4,908 | rlottie/example/lottie2gif.cpp | #include "gif.h"
#include <rlottie.h>
#include<iostream>
#include<string>
#include<vector>
#include<array>
#ifndef _WIN32
#include<libgen.h>
#else
#include <windows.h>
#include <stdlib.h>
#endif
class GifBuilder {
public:
explicit GifBuilder(const std::string &fileName , const uint32_t width,
... |
0015/esp_rlottie | 3,620 | rlottie/example/pathtest.cpp | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |
0015/esp_rlottie | 5,676 | rlottie/example/lottieview.cpp | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |
0015/esp_rlottie | 2,650 | rlottie/example/demo_marker.cpp | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |
0015/esp_rlottie | 4,158 | rlottie/example/evasapp.cpp | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |
0015/esp_rlottie | 1,862 | rlottie/src/meson.build | compiler_flags = ['-DRLOTTIE_BUILD']
cc = meson.get_compiler('cpp')
if (cc.get_id() != 'msvc')
compiler_flags += ['-fno-exceptions', '-fno-rtti',
'-fno-unwind-tables' , '-fno-asynchronous-unwind-tables',
'-Woverloaded-virtual', '-Wno-unused-parameter']
endif
linker_fl... |
0015/esp_rlottie | 5,152 | rlottie/licenses/COPYING.RPD | Tencent is pleased to support the open source community by making RapidJSON available.
Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
If you have downloaded a copy of the RapidJSON binary from Tencent, please note that the RapidJSON binary is licensed under the MIT Licens... |
0015/esp_rlottie | 2,084 | rlottie/licenses/COPYING.PIX | The following is the MIT license, agreed upon by most contributors.
Copyright holders of new code should use this license statement where
possible. They may also add themselves to the list below.
/*
* Copyright 1987, 1988, 1989, 1998 The Open Group
* Copyright 1987, 1988, 1989 Digital Equipment Corporation
* Copyr... |
0015/7-Color-E-Paper-Digital-Photo-Frame | 3,849 | README.md | # ESP32 E-Paper Digital Frame Project
This project is a digital photo frame using an ESP32 microcontroller and a 5.65” seven-color E-Paper display, optimized to display images with a 7-color palette. The ESP32 retrieves image data from a local server and displays it on the screen, with a power-saving feature that puts ... |
0015/7-Color-E-Paper-Digital-Photo-Frame | 2,134 | Flask_API_Server/flask_server.py | from datetime import datetime, time, timedelta
from flask import Flask, send_file, jsonify
import os
import random
import subprocess
app = Flask(__name__)
# Folder containing .h files
H_FILES_FOLDER = './h_files'
sent_files = []
all_files = []
# Start monitor.py as a background process
def start_monitor_script():
... |
0015/7-Color-E-Paper-Digital-Photo-Frame | 5,007 | Flask_API_Server/monitor.py | import os
import time
from watchdog.observers import Observer
from watchdog.events import FileSystemEventHandler
from PIL import Image
import numpy as np
from concurrent.futures import ThreadPoolExecutor, as_completed
# Define folders
IMAGE_FOLDER = './images'
H_FILES_FOLDER = './h_files'
# Define the 7-color palette... |
0015/Fridge-Calendar | 66,367 | sdkconfig.thatproject | #
# Automatically generated file. DO NOT EDIT.
# Espressif IoT Development Framework (ESP-IDF) 5.3.1 Project Configuration
#
CONFIG_SOC_MPU_MIN_REGION_SIZE=0x20000000
CONFIG_SOC_MPU_REGIONS_MAX_NUM=8
CONFIG_SOC_ADC_SUPPORTED=y
CONFIG_SOC_UART_SUPPORTED=y
CONFIG_SOC_PCNT_SUPPORTED=y
CONFIG_SOC_PHY_SUPPORTED=y
CONFIG_SOC... |
0015/Fridge-Calendar | 66,367 | sdkconfig | #
# Automatically generated file. DO NOT EDIT.
# Espressif IoT Development Framework (ESP-IDF) 5.3.1 Project Configuration
#
CONFIG_SOC_MPU_MIN_REGION_SIZE=0x20000000
CONFIG_SOC_MPU_REGIONS_MAX_NUM=8
CONFIG_SOC_ADC_SUPPORTED=y
CONFIG_SOC_UART_SUPPORTED=y
CONFIG_SOC_PCNT_SUPPORTED=y
CONFIG_SOC_PHY_SUPPORTED=y
CONFIG_SOC... |
0015/Fridge-Calendar | 6,219 | README.md | # Fridge Calendar (E-Paper Google Calendar Display)
This project is an e-paper-based calendar display that integrates with Google Calendar to fetch and display daily events. It uses the ESP32-S3 microcontroller, the EPDiy library for e-paper control, and the Google Calendar API to retrieve event data. The device conne... |
0015/esp_rlottie | 16,726 | rlottie/licenses/COPYING.MPL | Mozilla Public License Version 2.0
==================================
1. Definitions
--------------
1.1. "Contributor"
means each individual or legal entity that creates, contributes to
the creation of, or owns Covered Software.
1.2. "Contributor Version"
means the combination of the Contributions of oth... |
0015/esp_rlottie | 1,507 | rlottie/licenses/COPYING.SKIA | Copyright (c) 2011 Google Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following di... |
0015/Fridge-Calendar | 7,320 | main/epaper.cpp | #include "epaper.hpp"
static const char *TAG = "[E-Paper]";
#define calrendar_rect_width 114
#define calrendar_rect_height 110
const char* days[] = {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"};
EPaper::EPaper() : temp(0), fb(nullptr) {}
EPaper::~EPaper() {
// Cleanup if needed
}
void EPaper::checkError(e... |
0015/Fridge-Calendar | 8,241 | main/g_calendar.cpp | #include "g_calendar.hpp"
#include "g_calendar_config.hpp"
#include <esp_http_client.h>
#include <string>
#include <ctime>
#include <nlohmann/json.hpp>
#include "esp_log.h"
#include "app_config.hpp"
static const char* TAG = "[Google Calendar]";
extern const char server_googleapis_root_cert_pem_start[] asm("_binary_se... |
0015/Fridge-Calendar | 1,148 | main/g_calendar_config.cpp | #include "app_config.hpp"
#include "g_calendar_config.hpp"
// Define static variables
std::string CalendarConfig::clientId = _clientId;
std::string CalendarConfig::clientSecret = _clientSecret;
std::string CalendarConfig::accessToken = _accessToken;
std::string CalendarConfig::refreshToken = _refreshToken;
// Getters... |
0015/Fridge-Calendar | 18,199 | main/application.cpp | #include <esp_log.h>
#include "application.hpp"
#include "app_config.hpp"
#include "g_calendar_config.hpp"
#include <algorithm>
#include <set>
#include <esp_sleep.h>
#define WIFI_CONNECTED_BIT BIT0
#define LOCALTIME_SET_BIT BIT1
#define ACCESS_TOKEN_KEY "access_token"
#define FIRST_RUN_KEY "first_run"
#define RETR... |
0015/Fridge-Calendar | 2,391 | main/wifi.cpp | #include "wifi.hpp"
#include <esp_log.h>
#include <cstring>
static const char* TAG = "[WiFi]";
WiFi::WiFi(const std::string& ssid, const std::string& password, EventGroupHandle_t event_group, EventBits_t connected_bit)
: ssid(ssid), password(password), event_group(event_group), connected_bit(connected_bit) {}
Wi... |
0015/7-Color-E-Paper-Digital-Photo-Frame | 4,991 | ESP32-Arduino/E-Paper_Photo_Frame/EPD_7_Colors.cpp | // EPD_7_Colors.cpp
#include "EPD_7_Colors.h"
// IO pin settings
int BUSY_Pin = D5;
int RES_Pin = D0;
int DC_Pin = D3;
int CS_Pin = D1;
void driver_delay_us(unsigned int xus) {
for (; xus > 1; xus--)
;
}
void driver_delay(unsigned long xms) {
unsigned long i = 0, j = 0;
for (j = 0; j < xms; j++) {
for ... |
0015/7-Color-E-Paper-Digital-Photo-Frame | 1,750 | ESP32-Arduino/E-Paper_Photo_Frame/EPD_7_Colors.h | // EPD_7_Colors.h
#ifndef EPD_7_COLORS_H
#define EPD_7_COLORS_H
#include <Arduino.h>
#include <SPI.h>
// IO settings
extern int BUSY_Pin;
extern int RES_Pin;
extern int DC_Pin;
extern int CS_Pin;
// 8-bit color definitions
#define Black 0x00 /// 000
#define White 0x11 /// 001
#define Green 0x22 /// 010
#define... |
0015/7-Color-E-Paper-Digital-Photo-Frame | 4,709 | ESP32-Arduino/E-Paper_Photo_Frame/E-Paper_Photo_Frame.ino | /*
ESP32 E-Paper Digital Frame Project
https://github.com/0015/7-Color-E-Paper-Digital-Photo-Frame
5.65" Seven-Color eInk
https://www.seeedstudio.com/5-65-Seven-Color-ePaper-Display-with-600x480-Pixels-p-5786.html
XIAO eInk Expansion Board
https://wiki.seeedstudio.com/XIAO-eInk-Expansion-Board/
XIAO ... |
0015/esp_rlottie | 1,073 | rlottie/licenses/COPYING.STB | MIT License
Copyright (c) 2017 Sean Barrett
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish... |
0015/esp_rlottie | 1,053 | rlottie/licenses/COPYING.MIT | Copyright 2020 (see AUTHORS)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicen... |
0015/Fridge-Calendar | 8,484 | main/localtime.cpp | #include "localtime.hpp"
static const char* TAG = "[LocalTime]";
LocalTime* LocalTime::instance = nullptr;
LocalTime::LocalTime(const char* timezone, EventGroupHandle_t event_group, EventBits_t connected_bit)
:timezone(timezone), event_group(event_group), connected_bit(connected_bit){
instance = this;
}
voi... |
0015/esp_rlottie | 2,531 | rlottie/example/resource/layout.edc | collections {
group { "layout";
parts {
rect { "bg";
desc { "default";
color: 225 225 225 225;
}
}
spacer { "lottie_base";
desc { "default";
rel1.to_y: "text";
rel1.relative: 0.0 1.0;
rel2... |
0015/Fridge-Calendar | 1,818 | main/include/epaper.hpp | #ifndef EPAPER_HPP
#define EPAPER_HPP
#include <esp_heap_caps.h>
#include <epdiy.h>
#include <epd_highlevel.h>
#include <stdio.h>
#include "esp_log.h"
#include "OpenSans_Condensed-Bold-8.h"
#include "OpenSans_SemiCondensed-Bold-10.h"
#include "OpenSans_SemiCondensed-Bold-12.h"
#include "OpenSans_SemiCondensed-Medium-2... |
0015/Fridge-Calendar | 112,308 | main/include/OpenSans_SemiCondensed-Bold-10.h | #pragma once
#include "epdiy.h"
/*
Created with
fontconvert.py OpenSans 10 /Users/sil0/Workspace/3_ESP-IDF-Projects/HomeCalendar/epdiy/scripts/OpenSans_10SemiCondensed-Bold.ttf
As 'OpenSans' with available 214 characters
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ¡¢... |
0015/Fridge-Calendar | 1,151 | main/include/application.hpp | #pragma once
#include <freertos/FreeRTOS.h>
#include <freertos/task.h>
#include <freertos/event_groups.h>
#include "g_calendar.hpp"
#include "epaper.hpp"
#include "wifi.hpp"
#include "localtime.hpp"
class Application {
public:
Application();
~Application();
void run(); // Main application logic
private:
... |
0015/Fridge-Calendar | 1,416 | main/include/g_calendar.hpp | #ifndef G_CALENDAR_HPP
#define G_CALENDAR_HPP
#include <string>
#include <vector>
#include "esp_err.h"
// Structure to hold calendar event details
struct CalendarEvent {
std::string summary;
std::string description;
std::string creatorEmail; // To store the creator's email
std::string organizer... |
0015/Fridge-Calendar | 70,936 | main/include/OpenSans_Condensed-Bold-8.h | #pragma once
#include "epdiy.h"
/*
Created with
fontconvert.py OpenSans 8 /Users/sil0/Workspace/3_ESP-IDF-Projects/HomeCalendar/epdiy/scripts/OpenSans_8Condensed-Bold.ttf
As 'OpenSans' with available 214 characters
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ¡¢£¤¥¦§¨... |
0015/7-Color-E-Paper-Digital-Photo-Frame | 1,680,048 | ESP32-Arduino/_Test_E_Paper_5_56inch_7color/demo_image.h | const unsigned char demo_image[600 * 448]= {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x35, 0x00, 0x00, 0x00, 0x35, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x35, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,... |
0015/Fridge-Calendar | 1,230 | main/include/localtime.hpp | #ifndef LOCALTIME_HPP
#define LOCALTIME_HPP
#include <functional>
#include <ctime>
#include <string>
#include <esp_sntp.h>
#include <esp_log.h>
#include <esp_event.h>
#include <freertos/FreeRTOS.h>
#include <freertos/task.h>
#include <freertos/event_groups.h>
class LocalTime {
public:
LocalTime(const char* timezo... |
0015/7-Color-E-Paper-Digital-Photo-Frame | 4,991 | ESP32-Arduino/_Test_E_Paper_5_56inch_7color/EPD_7_Colors.cpp | // EPD_7_Colors.cpp
#include "EPD_7_Colors.h"
// IO pin settings
int BUSY_Pin = D5;
int RES_Pin = D0;
int DC_Pin = D3;
int CS_Pin = D1;
void driver_delay_us(unsigned int xus) {
for (; xus > 1; xus--)
;
}
void driver_delay(unsigned long xms) {
unsigned long i = 0, j = 0;
for (j = 0; j < xms; j++) {
for ... |
0015/Fridge-Calendar | 672,525 | main/include/img_home.h | const int img_home_width = 580;
const int img_home_height = 386;
const uint8_t img_home_data[(580*386)/2] = {
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, ... |
0015/7-Color-E-Paper-Digital-Photo-Frame | 1,750 | ESP32-Arduino/_Test_E_Paper_5_56inch_7color/EPD_7_Colors.h | // EPD_7_Colors.h
#ifndef EPD_7_COLORS_H
#define EPD_7_COLORS_H
#include <Arduino.h>
#include <SPI.h>
// IO settings
extern int BUSY_Pin;
extern int RES_Pin;
extern int DC_Pin;
extern int CS_Pin;
// 8-bit color definitions
#define Black 0x00 /// 000
#define White 0x11 /// 001
#define Green 0x22 /// 010
#define... |
0015/T-Glass-Applications | 2,532 | README.md | # T-Glass: ESP32-S3-Based Smart Glasses
Welcome to the T-Glass v2 project! This repository provides custom applications for T-Glass v2, a highly programmable and affordable smart glasses platform powered by the ESP32-S3.
---
## Overview
T-Glass v2 is designed for developers and hobbyists who want to explore IoT and ... |
0015/Fridge-Calendar | 1,060 | main/include/g_calendar_config.hpp | #ifndef G_CALENDAR_CONFIG_HPP
#define G_CALENDAR_CONFIG_HPP
#include <string>
#include <vector>
class CalendarConfig {
public:
static const std::vector<std::string> calendarIds;
// Getters and Setters for OAuth credentials and tokens
static void setClientId(const std::string& id);
static const std::... |
0015/Fridge-Calendar | 151,193 | main/include/OpenSans_SemiCondensed-Bold-12.h | #pragma once
#include "epdiy.h"
/*
Created with
fontconvert.py OpenSans 12 /Users/sil0/Workspace/3_ESP-IDF-Projects/HomeCalendar/epdiy/scripts/OpenSans_12SemiCondensed-Bold.ttf
As 'OpenSans' with available 214 characters
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ¡¢... |
0015/esp_rlottie | 1,176 | rlottie/example/win32Player/Source.cpp | #include "rlottie.h"
#include "animation.h"
using namespace rlottie;
std::unique_ptr<Animation> anim;
uint32_t *buffer;
size_t width, height;
size_t bytesPerLine;
uint32_t curColor = UINT32_MAX;
void setAnimationSize(size_t w, size_t h)
{
width = w;
height = h;
bytesPerLine = width * sizeof(uint32_t);
if (buf... |
0015/esp_rlottie | 1,508 | rlottie/example/win32Player/resource.h | //{{NO_DEPENDENCIES}}
// This is an include file generated by Microsoft Visual C++.
// It is being used in rlottiePlayer.rc.
//
#define IDC_MYICON 2
#define IDD_RLOTTIEPLAYER_DIALOG 102
#define IDS_APP_TITLE 103
#define IDD_ABOUTBOX 103
#define IDM_ABOUT ... |
0015/T-Glass-Applications | 101,759 | image_capture_app/sdkconfig.thatproject | #
# Automatically generated file. DO NOT EDIT.
# Espressif IoT Development Framework (ESP-IDF) 5.3.2 Project Configuration
#
CONFIG_SOC_MPU_MIN_REGION_SIZE=0x20000000
CONFIG_SOC_MPU_REGIONS_MAX_NUM=8
CONFIG_SOC_ADC_SUPPORTED=y
CONFIG_SOC_UART_SUPPORTED=y
CONFIG_SOC_PCNT_SUPPORTED=y
CONFIG_SOC_PHY_SUPPORTED=y
CONFIG_SOC... |
0015/esp_rlottie | 1,882 | rlottie/example/win32Player/rlottiePlayer.vcxproj.filters | <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj... |
0015/T-Glass-Applications | 101,759 | image_capture_app/sdkconfig | #
# Automatically generated file. DO NOT EDIT.
# Espressif IoT Development Framework (ESP-IDF) 5.3.2 Project Configuration
#
CONFIG_SOC_MPU_MIN_REGION_SIZE=0x20000000
CONFIG_SOC_MPU_REGIONS_MAX_NUM=8
CONFIG_SOC_ADC_SUPPORTED=y
CONFIG_SOC_UART_SUPPORTED=y
CONFIG_SOC_PCNT_SUPPORTED=y
CONFIG_SOC_PHY_SUPPORTED=y
CONFIG_SOC... |
0015/T-Glass-Applications | 2,355 | image_capture_app/README.md | # T-Glass & macOS Flutter App (BLE Image Transfer)
## Overview
This project consists of two applications:
1. **T-Glass Application** (ESP32-S3) – A firmware that runs on T-Glass v2, receives images via BLE, and displays them on the screen using LVGL.
2. **macOS Flutter Application** – A desktop application that captur... |
0015/7-Color-E-Paper-Digital-Photo-Frame | 1,680,000 | Flask_API_Server/h_files/demo_image.h | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x35, 0x00, 0x00, 0x00, 0x35, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x35, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x35, 0x00, 0x00,
0x35, 0x00, 0x00... |
0015/esp_rlottie | 15,904 | rlottie/example/win32Player/rlottiePlayer.cpp | // rlottiePlayer.cpp : Defines the entry point for the application.
//
#include "framework.h"
#include "rlottiePlayer.h"
using namespace Gdiplus;
#define MAX_LOADSTRING 100
// Global Variables:
HINSTANCE hInst; // current instance
WCHAR szTitle[MAX_LOADSTRING]; ... |
0015/T-Glass-Applications | 101,759 | ancs_app/sdkconfig.thatproject | #
# Automatically generated file. DO NOT EDIT.
# Espressif IoT Development Framework (ESP-IDF) 5.3.2 Project Configuration
#
CONFIG_SOC_MPU_MIN_REGION_SIZE=0x20000000
CONFIG_SOC_MPU_REGIONS_MAX_NUM=8
CONFIG_SOC_ADC_SUPPORTED=y
CONFIG_SOC_UART_SUPPORTED=y
CONFIG_SOC_PCNT_SUPPORTED=y
CONFIG_SOC_PHY_SUPPORTED=y
CONFIG_SOC... |
0015/T-Glass-Applications | 101,718 | ancs_app/sdkconfig | #
# Automatically generated file. DO NOT EDIT.
# Espressif IoT Development Framework (ESP-IDF) 5.3.2 Project Configuration
#
CONFIG_SOC_MPU_MIN_REGION_SIZE=0x20000000
CONFIG_SOC_MPU_REGIONS_MAX_NUM=8
CONFIG_SOC_ADC_SUPPORTED=y
CONFIG_SOC_UART_SUPPORTED=y
CONFIG_SOC_PCNT_SUPPORTED=y
CONFIG_SOC_PHY_SUPPORTED=y
CONFIG_SOC... |
0015/T-Glass-Applications | 3,450 | ancs_app/README.md | ## T-Glass v2 Notification Viewer
This project demonstrates a BLE-based notification viewer for the T-Glass v2 hardware. It integrates ESP-IDF, LVGL, and esp-bsp-generic to display notifications from an iPhone on the T-Glass v2 prism display.
### Features
- **BLE ANCS (Apple Notification Center Service)**: Connects t... |
0015/Fridge-Calendar | 498,358 | main/include/OpenSans_SemiCondensed-Medium-24.h | #pragma once
#include "epdiy.h"
/*
Created with
fontconvert.py OpenSans 24 /Users/sil0/Workspace/3_ESP-IDF-Projects/HomeCalendar/epdiy/scripts/OpenSans_24SemiCondensed-Medium.ttf
As 'OpenSans' with available 214 characters
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ... |
0015/esp_rlottie | 1,180 | rlottie/src/vector/vdrawhelper_neon.cpp | #if defined(__ARM_NEON__)
#include "vdrawhelper.h"
extern "C" void pixman_composite_src_n_8888_asm_neon(int32_t w, int32_t h,
uint32_t *dst,
int32_t dst_stride,
... |
0015/T-Glass-Applications | 1,420 | image_capture_app/t_glass_ble_app/analysis_options.yaml | # This file configures the analyzer, which statically analyzes Dart code to
# check for errors, warnings, and lints.
#
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
# invoked from the command line by running `flu... |
0015/T-Glass-Applications | 1,706 | image_capture_app/t_glass_ble_app/.metadata | # This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled and should not be manually edited.
version:
revision: "d8a9f9a52e5af486f80d932e838ee93861ffd863"
channel: "stable"
project_type: app
# Tracks m... |
0015/esp_rlottie | 3,658 | rlottie/src/vector/vbezier.cpp | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |
0015/esp_rlottie | 1,749 | rlottie/src/vector/velapsedtimer.cpp | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |
0015/esp_rlottie | 1,615 | rlottie/src/vector/velapsedtimer.h | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |
0015/esp_rlottie | 3,895 | rlottie/src/vector/vdrawable.cpp | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |
0015/esp_rlottie | 8,117 | rlottie/src/vector/vdrawhelper_sse2.cpp | #if defined(__SSE2__)
#include <cstring>
#include <emmintrin.h> /* for SSE2 intrinsics */
#include <xmmintrin.h> /* for _mm_shuffle_pi16 and _MM_SHUFFLE */
#include "vdrawhelper.h"
// Each 32bits components of alphaChannel must be in the form 0x00AA00AA
inline static __m128i v4_byte_mul_sse2(__m128i c, __m128i a)
{
... |
0015/esp_rlottie | 5,772 | rlottie/src/vector/vbitmap.cpp | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |
0015/esp_rlottie | 2,981 | rlottie/src/vector/vbrush.h | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |
0015/T-Glass-Applications | 3,506 | image_capture_app/t_glass_ble_app/README.md | # Flutter Desktop BLE & Screen Capture App For T-Glass
## 📌 Overview
This Flutter desktop application provides **BLE scanning and connection** using `flutter_blue_plus`, **screen capturing**, and a system tray integration. The application supports **Windows and macOS**, featuring a **theme toggle**, **image processi... |
0015/esp_rlottie | 22,546 | rlottie/src/vector/vpath.cpp | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |
0015/esp_rlottie | 2,396 | rlottie/src/vector/vsharedptr.h | #ifndef VSHAREDPTR_H
#define VSHAREDPTR_H
#include <cassert>
#include <memory>
#include <atomic>
template <typename T, typename Rc>
class vshared_ptr {
struct model {
Rc mRef{1};
model() = default;
template <class... Args>
explicit model(Args&&... args) : mValue(std::forward<Args... |
0015/esp_rlottie | 8,807 | rlottie/src/vector/varenaalloc.h | /*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef VARENAALLOC_H
#define VARENAALLOC_H
#include <cassert>
#include <cstddef>
#include <cstdint>
#include <cstdlib>
#include <cstring>
#include <limits>
#include <new>
#in... |
0015/esp_rlottie | 6,289 | rlottie/src/vector/vpoint.h | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |
0015/T-Glass-Applications | 4,902 | image_capture_app/main/ble_server.c | #include <stdio.h>
#include <string.h>
#include "esp_log.h"
#include "nvs_flash.h"
#include "esp_bt.h"
#include "esp_gap_ble_api.h"
#include "esp_gatts_api.h"
#include "esp_bt_defs.h"
#include "esp_bt_main.h"
#include "t_glass.h"
#define TAG "[BLE_SERVER]"
#define DEVICE_NAME "T-Glass"
#define SERVICE_UUID 0x0... |
0015/T-Glass-Applications | 4,449 | image_capture_app/main/battery_measurement.c | #include "battery_measurement.h"
#include "esp_adc/adc_oneshot.h"
#include "esp_adc/adc_cali.h"
#include "esp_adc/adc_cali_scheme.h"
#define ADC_CHANNEL ADC_CHANNEL_2
#define ADC_UNIT ADC_UNIT_2
#define ADC_ATTEN ADC_ATTEN_DB_12
#define ADC_BITWIDTH ADC_BITWIDTH_12
#define REF_VOLT... |
0015/esp_rlottie | 5,642 | rlottie/src/vector/vrect.h | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |
0015/esp_rlottie | 20,545 | rlottie/src/vector/vrle.cpp | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |
0015/esp_rlottie | 3,014 | rlottie/src/vector/vdrawable.h | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |
0015/esp_rlottie | 2,996 | rlottie/src/vector/vline.h | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |
0015/T-Glass-Applications | 12,194 | image_capture_app/main/t_glass.c | #include "t_glass.h"
#include "touch_element/touch_button.h"
#include "battery_measurement.h"
#include "esp_timer.h" // For getting timestamps
#include "esp_log.h"
#include <string.h>
#define TOUCH_BUTTON_NUM 1
#define DOUBLE_TAP_THRESHOLD_MS 300 // Define a threshold for double-tap detection (e.g., 300 ms)
#define TA... |
0015/T-Glass-Applications | 11,454 | image_capture_app/main/jd9613.c | #include "esp_check.h"
#include "esp_lcd_panel_interface.h"
#include "esp_lcd_panel_io.h"
#include "esp_lcd_panel_vendor.h"
#include "esp_lcd_panel_ops.h"
#include "esp_lcd_panel_commands.h"
#include "driver/gpio.h"
#include "jd9613.h"
#define TAG "jd9613"
typedef struct
{
esp_lcd_panel_t base;
esp_lcd_panel_... |
0015/T-Glass-Applications | 2,931 | image_capture_app/main/nvs_manager.c | #include "nvs_manager.h"
#include <esp_log.h>
#include <string.h>
#define TAG "[NVS Manager]"
esp_err_t nvs_manager_init(void)
{
esp_err_t err = nvs_flash_init();
if (err == ESP_ERR_NVS_NO_FREE_PAGES || err == ESP_ERR_NVS_NEW_VERSION_FOUND)
{
ESP_LOGW(TAG, "NVS partition truncated, erasing...");
... |
0015/esp_rlottie | 9,067 | rlottie/src/vector/vpath.h | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |
0015/esp_rlottie | 1,955 | rlottie/src/vector/vrect.cpp | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |
0015/esp_rlottie | 3,730 | rlottie/src/vector/vinterpolator.cpp | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0... |
0015/esp_rlottie | 2,680 | rlottie/src/vector/vinterpolator.h | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |
0015/T-Glass-Applications | 2,957 | image_capture_app/main/main.c | #include <stdio.h>
#include <string.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/semphr.h"
#include "freertos/task.h"
#include "freertos/queue.h"
#include "esp_log.h"
#include "nvs_manager.h"
#include "t_glass.h"
#include "ble_server.h"
#define TAG "[Glass Main]"
#define IMAGE_MAX_S... |
0015/T-Glass-Applications | 4,486 | image_capture_app/main/rtc_pcf85063.c | #include "rtc_pcf85063.h"
#include "driver/i2c.h"
#include "esp_log.h"
#include <stdio.h>
#include <string.h>
#define I2C_MASTER_SCL_IO 8
#define I2C_MASTER_SDA_IO 9
#define I2C_MASTER_NUM I2C_NUM_0
#define I2C_MASTER_FREQ_HZ 100000
#define I2C_MASTER_TX_BUF_DISABLE 0
#define I2C_MASTER_RX_BUF_DISABLE 0
#define PCF850... |
0015/esp_rlottie | 2,494 | rlottie/src/vector/vtaskqueue.h | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |
0015/esp_rlottie | 5,749 | rlottie/src/vector/vdebug.h | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |
0015/esp_rlottie | 1,746 | rlottie/src/vector/vraster.h | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |
0015/T-Glass-Applications | 18,363 | image_capture_app/t_glass_ble_app/lib/main.dart | import 'dart:async';
import 'dart:io';
import 'dart:typed_data';
import 'package:image/image.dart' as img;
import 'package:shared_preferences/shared_preferences.dart';
import 'package:flutter/foundation.dart';
import 'package:bitsdojo_window/bitsdojo_window.dart';
import 'package:flutter/material.dart';
import 'package... |
0015/T-Glass-Applications | 1,389 | image_capture_app/t_glass_ble_app/macos/Podfile | platform :osx, '10.14'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
}
def flutter_root
generated_xcode_build_settings_path = File.expand_pat... |
0015/T-Glass-Applications | 2,122 | image_capture_app/t_glass_ble_app/windows/runner/flutter_window.cpp | #include "flutter_window.h"
#include <optional>
#include "flutter/generated_plugin_registrant.h"
FlutterWindow::FlutterWindow(const flutter::DartProject& project)
: project_(project) {}
FlutterWindow::~FlutterWindow() {}
bool FlutterWindow::OnCreate() {
if (!Win32Window::OnCreate()) {
return false;
}
... |
0015/T-Glass-Applications | 1,268 | image_capture_app/t_glass_ble_app/windows/runner/main.cpp | #include <flutter/dart_project.h>
#include <flutter/flutter_view_controller.h>
#include <windows.h>
#include "flutter_window.h"
#include "utils.h"
int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
_In_ wchar_t *command_line, _In_ int show_command) {
// Attach to console w... |
0015/esp_rlottie | 2,168 | rlottie/src/vector/vbrush.cpp | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |
0015/esp_rlottie | 3,630 | rlottie/src/vector/vbitmap.h | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |
0015/T-Glass-Applications | 3,522 | image_capture_app/t_glass_ble_app/windows/runner/win32_window.h | #ifndef RUNNER_WIN32_WINDOW_H_
#define RUNNER_WIN32_WINDOW_H_
#include <windows.h>
#include <functional>
#include <memory>
#include <string>
// A class abstraction for a high DPI-aware Win32 Window. Intended to be
// inherited from by classes that wish to specialize with custom
// rendering and input handling
class ... |
0015/T-Glass-Applications | 8,534 | image_capture_app/t_glass_ble_app/windows/runner/win32_window.cpp | #include "win32_window.h"
#include <dwmapi.h>
#include <flutter_windows.h>
#include "resource.h"
namespace {
/// Window attribute that enables dark mode window decorations.
///
/// Redefined in case the developer's machine has a Windows SDK older than
/// version 10.0.22000.0.
/// See: https://docs.microsoft.com/wi... |
0015/T-Glass-Applications | 1,797 | image_capture_app/t_glass_ble_app/windows/runner/utils.cpp | #include "utils.h"
#include <flutter_windows.h>
#include <io.h>
#include <stdio.h>
#include <windows.h>
#include <iostream>
void CreateAndAttachConsole() {
if (::AllocConsole()) {
FILE *unused;
if (freopen_s(&unused, "CONOUT$", "w", stdout)) {
_dup2(_fileno(stdout), 1);
}
if (freopen_s(&unuse... |
0015/esp_rlottie | 1,586 | rlottie/src/vector/vpathmesure.h | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |
0015/esp_rlottie | 4,584 | rlottie/src/vector/vbezier.h | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |
0015/esp_rlottie | 3,215 | rlottie/src/vector/vcowptr.h | /*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... |