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 "Arduino.h" | |
void display_start(); | |
void DisplayText(char *text); | |
void setup() { | |
Serial.begin(115200); | |
display_start(); | |
DisplayText("01234567"); | |
} |
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 "Arduino.h" | |
#define VENTILATION_OFF 0x00D8D9DA | |
#define VENTILATION_LEVEL1 0x006C6D6E | |
#define VENTILATION_LEVEL2 0x0037B838 | |
#define VENTILATION_LEVEL3 0x003878B8 | |
#define VENTILATION_LEVEL4 0x00727374 // not used, have only three | |
#define LIGHT_ON 0x00D2D3D4 | |
#define LIGHT_OFF 0x001ABADA |
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 "Arduino.h" | |
void display_start(); | |
void display_value(const char* value); | |
int indexOf (const char* base, char ch, int startIndex); | |
void setup(){ | |
display_start(); | |
} |
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
// external HW | |
// 24-bit I2S Interface INMP441 Omnidirectional Microphone | |
// I2S PCM5102A DAC Decoder | |
#include "Arduino.h" | |
#include "driver/i2s.h" | |
#define TX_I2S_DOUT 25 // connect with external DAC | |
#define TX_I2S_BCLK 27 |
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
// AI-Thinker A1S Audioboard V2.2 | |
// for default SPI GPIOs remove C58...C61 or use JTag GPIOs | |
// Display with Touchpad 320x240px, 3.3V relevant, controller: ILI9431 | |
#include "Arduino.h" | |
#include "WiFi.h" | |
#include "SPI.h" | |
#include "SD.h" | |
#include "FS.h" | |
#include "Wire.h" |
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 "Arduino.h" | |
#include "SPI.h" | |
// Digital I/O used | |
#define AD9850_CS 21 | |
#define AD9850_RST 22 | |
// Global variables | |
uint32_t AD9850_CLOCK=125000000; // Module crystal frequency. Tweak here for accuracy. | |
uint32_t sweep=0; |