Skip to content

Instantly share code, notes, and snippets.

View Hugoyhu's full-sized avatar

Hugo Hu Hugoyhu

View GitHub Profile
#include "DHT.h"
#define DHTPIN 2
#define DHTTYPE DHT11
DHT dht(DHTPIN, DHTTYPE);
#if defined(ARDUINO_ARCH_AVR)
#define debug Serial
public class palindromecheck {
public static void main(String[] args) {
int num = 141, reversedInteger = 0, remainder, originalInteger;
originalInteger = num;
while( num != 0 )
{
:root {
--colors-pink: #E5C1CD;
--colors-orange: #FFD5B8;
--colors-yellow: #fdfd96;
--colors-green: #ACECD5;
--colors-cyan: #B9D6F3;
--colors-blue: #ADDE6;
--colors-purple: #DEB3EB;
--colors-darker: #151613;