Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to compile new tasmota firmware by simplest way
#3
dear admin

i have some issues related to KC868-A6 when compiling tasmota32 release MASTER / DEV repository by gitlab (now ONA)

in /workspaces/Tasmota/tasmota/my_user_config.h 
 
by using the values from thread https://www.kincony.com/forum/showthread.php?tid=5432

#define USE_I2C                                // Add support for I2C
#define USE_PCF8574                            // [I2cDriver2] Enable PCF8574 I/O Expander (I2C addresses 0x20 - 0x26 and 0x39 - 0x3F) (+2k1 code)
#define USE_PCF8574_SENSOR                  // Enable Mode1 inputs and outputs in SENSOR message (+0k2 code)
#define USE_PCF8574_DISPLAYINPUT            // Enable Mode1 inputs display in Web page (+0k2 code)
#define USE_PCF8574_MQTTINPUT                // Enable Mode1 MQTT message & rule process on input change detection : stat/%topic%/PCF8574_INP = {"Time":"2021-03-07T16:19:23+01:00","PCF8574-1_INP":{"D1":1}} (+0k5 code)

for using with SSD1306 0.96" 128x64 I2C OLED

in new tasmota releases i have to define 

// -- Universal Display Driver ---------------------------------
// #define USE_UNIVERSAL_DISPLAY                   // New universal display driver for both I2C and SPI
    #define MAX_TOUCH_BUTTONS 16                 // Virtual touch buttons



can you please explain the values for the universal display driver because of defining I2C adress 0x3c for oled display instead of using adress 0x3c for PCF8574A_SENSOR

12:05:09.033 CMD: I2CScan
12:05:09.063 RSL: RESULT = {"I2CScan":"Device(s) found at 0x22 0x24 0x3c 0x68"}

and defining virtual touch buttons for toggling display AND 6 Relay Device Input/Output PCF8574-1 (D0-D5) like your compiled binary v12.2.0 (see screenshot)

with Blackadder template parameters {"NAME":"KC868-A6","GPIO":[0,1,0,1,640,768,1,1,1,1,3232,608,0,1,736,672,0,1,0,704,0,1,0,3200,0,0,0,0,1312,1184,4706,4707,4704,0,0,4705],"FLAG":0,"BASE":1}

i want to know about compiling new current tasmota release using KC-868 as you provided and adding support for modules #define USE_LORA_SX127X
and #define USE_NRF24   // Add SPI support for NRF24L01(+) (+2k6 code)

Thank YOU!


Attached Files Image(s)
   
Reply


Messages In This Thread
RE: how to compile new tasmota firmware by simplest way - by tasmo_compiler - 01-10-2026, 11:28 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)