colorimeter
as7262 as7341
https://www.youtube.com/watch?v=CTWAyia3YDw
https://www.amazon.com.au/Color-Muse-color-matching-paint/dp/B01KKEMIF0/ref=asc_df_B01KKEMIF0/
spectrum to rgb
#include "driver/rmt.h" | |
static rmt_item32_t items[3] = { | |
{{ 5000, 1, 4000, 0 }}, | |
{{ 5000, 1, 4000, 0 }}, | |
{{ 5000, 1, 4000, 0 }} | |
}; | |
// { 4000, 1, 4000, 0 }, |
https://reqres.in/ |
colorimeter
as7262 as7341
https://www.youtube.com/watch?v=CTWAyia3YDw
https://www.amazon.com.au/Color-Muse-color-matching-paint/dp/B01KKEMIF0/ref=asc_df_B01KKEMIF0/
spectrum to rgb
light intensity on mobile phone
samsung hidden menu #0#
under Sensors, light intensity. Unfortunately, my el cheapo doesn't have it
iphone app called photone
#include <util/atomic.h> // For the ATOMIC_BLOCK macro | |
#define ENCA 2 // YELLOW | |
#define ENCB 3 // WHITE | |
#define PWM 10 | |
#define IN2 7 | |
#define IN1 8 | |
volatile int posi = 0; // specify posi as volatile: https://www.arduino.cc/reference/en/language/variables/variable-scope-qualifiers/volatile/ | |
long prevT = 0; |
#!/usr/bin/env python | |
# For raspberry pi. LIBGL_ALWAYS_SOFTWARE=1 python pyglettest.py | |
import pyglet | |
from dataclasses import dataclass | |
from colormath.color_objects import XYZColor, sRGBColor | |
from colormath.color_conversions import convert_color |
import requests | |
resp = requests.get("http://example.com") | |
print(resp.text) |