This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.fasterxml.jackson.databind.DeserializationFeature | |
import com.fasterxml.jackson.databind.MapperFeature | |
import com.fasterxml.jackson.databind.SerializationFeature | |
import com.fasterxml.jackson.dataformat.xml.JacksonXmlModule | |
import com.fasterxml.jackson.dataformat.xml.XmlMapper | |
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper | |
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty | |
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement | |
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule | |
import com.fasterxml.jackson.module.kotlin.KotlinModule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Took the good bits from sdesalas/node-pi-zero/ | |
# Switches to unofficial repo since armv6 was removed from main downloads | |
# | |
PI_ARM_VERSION=$( | |
uname -a | | |
egrep 'armv[0-9]+l' -o | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "esphome.h" | |
#include "math.h" | |
using namespace esphome; | |
#define I2C_ADDR_D6T 0x0a | |
#define CMD 0x4c | |
static const int SOBEL_X[3][3] = | |
{ { -1, 0, 1 }, |