senseBox Blockly
senseBox-Logo
  1. ›
  2. Galerie

  3. ›
  4. 2 Temp

Sensors
LED
RGB LED
LED Matrix
Display
Data transmission
WIFI
openSenseMap
LoRa
Aktivierung
Lora Message
TTN Mapper
Bluetooth
Phyphox
ESPNOW
SD
Text
Logic
Loops
Time
Time control
RTC
NTP
Math
Variables
Functions
QOOOL
Advanced
Serial
Input/Output
Motors
Watchdog
Webserver
MQTT
Ethernet
Audio
2Initialize DisplayInitialise Multiplexer with Channels11mbarTemperature/Humidity Sensor (HDC1080)Value:Temperature in °C ▾create text with22mbarTemperature/Humidity Sensor (HDC1080)Value:Temperature in °C ▾create text withShow Text/NumberFont colorWhite ▾Fontsize2x-Coordinates0y-Coordinates34ValueChange active channel to:Show Text/NumberFont colorWhite ▾Fontsize2x-Coordinates0y-Coordinates0ValuePrint on displayChange active channel to:Arduino run first:Arduino loop forever:Print on display
1113000100500100500100TitleUnitTitleUnit01505050150000000latitudelongitudealtitudepDOPfixTypeDataDataDataDateiname1011011000100000000010119701110011003010090220
{ }

Arduino Source Code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by senseBox Blockly on Wed Nov 12 2025 11:42:16 GMT+0000 (Coordinated Universal Time)
#include <Wire.h>
#include <SPI.h>
#include <Adafruit_GFX.h> // http://librarymanager/All#Adafruit_GFX_Library
#include <Adafruit_SSD1306.h> // http://librarymanager/All#Adafruit_SSD1306
#include <Adafruit_HDC1000.h> // http://librarymanager/All#Adafruit_HDC1000_Library
byte multiplexAddress = 0x77;
byte channels[] = {0,1};
#define SCREEN_WIDTH 128
#define SCREEN_HEIGHT 64
#define OLED_RESET -1
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);
Adafruit_HDC1000 hdc = Adafruit_HDC1000();
<>

XML Blocks

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<xml xmlns="https://developers.google.com/blockly/xml" board="null">
  <block type="arduino_functions" id="QWW|$jB8+*EL;}|#uA" deletable="false" x="27" y="16">
    <statement name="SETUP_FUNC">
      <block type="sensebox_multiplexer_init" id="(n_K}Bo#2|5b::;6L9-2">
        <value name="nrChannels">
          <block type="math_number" id="aCV0_|3)h7`|?eTsd`%=">
            <field name="NUM">2</field>
          </block>
        </value>
        <next>
          <block type="sensebox_display_beginDisplay" id="jlr{UK[.t3wD$N2$7M(k"></block>
        </next>
      </block>
    </statement>
    <statement name="LOOP_FUNC">
      <block type="sensebox_multiplexer_changeChannel" id="l1o71mGRPAI.`qDVmX45">
        <value name="Channel">

Information about the Block

This website uses cookies to enhance the user experience.
Impressum|Privacy|News|sensebox.de
Menu
    Blockly
    Tutorials
    Gallery
    Code Editor

    Login
    FAQ
    Settings

Which board are you using?

senseBox MCU

senseBox MCU-S2

senseBox MCU:mini

Here you can access the old blockly Version for the Arduino UNO or the senseBox MCU