Usage for hash tag: define

  1. Borat

    DIY Alkalinity Monitor

    ...to this one (there are many makers of the same LCD), they are quite large, so don't rush into getting one before you measure that it fits your enclosure! However If you are to use a smaller LCD with 2 lines, most likely you just need to adjust the line: #define SCREEN_ROWS 2...
  2. BassamKassem

    DIY Alkalinity Monitor

    ...this code, please open the serial monitor of the Ardino IDE. The correct value of the EEPROM block should be 255. */ #include <EEPROM.h> #define PHADDR 0x00 void setup() { Serial.begin(115200); for(int i = 0;i < 8; i++ ) { EEPROM.write(PHADDR+i, 0xFF);// write defaullt value to...
  3. bread1973

    DIY Alkalinity Monitor

    #include <WiFi.h> #include <Wire.h> #include <WebServer.h> #define WIRE_SLAVE_ADDRESS 9 #include "time.h" #include <Arduino.h> #include <ESP32_MailClient.h> // Replace with your network credentials const char* ssid = "chengyu-xiaomi"; const char* password = "xxxxx"; unsigned long...
  4. BassamKassem

    DIY Alkalinity Monitor

    ...is though the rotary encoder meu {"System Volume", "Sol to +0.1 DKH/100ml", "Required DKH"} so i can add these values to sub as follows #define SUB_MENU3_ITEMS_COUNT 9 char sub_menu3[][maxItemLength] = {"System Volume","Sol to +0.1 DKH/100ml","Required DKH","Manual Dosing...
  5. C

    esp32 guide error

    ...note: in definition of macro 'ESP_REG' #define ESP_REG(addr) *((volatile uint32_t *)(addr)) ^~~~ c:\Users\c1a2l\Documents\Arduino\libraries\OneWire\util/OneWire_direct_gpio.h: In function 'void directModeOutput(uint32_t)'...
Back
Top