senseBox Blockly
senseBox-Logo
  1. ›
  2. Galerie

  3. ›
  4. Metronom

Metronom

Sensors
WIFI
ESPNOW
Ethernet
SD
LED
LED Matrix
Display
openSenseMap
LoRa
Aktivierung
Lora Message
TTN Mapper
Cayenne LPP
Bluetooth
Phyphox
QOOOL
Webserver
MQTT
Logic
Loops
Text
Time
Time control
RTC
NTP
Math
Audio
Variables
Functions
Advanced
Serial
Input/Output
Motors
Watchdog
5282505003260250500waitmillisecondsTurn off tone on pin #C5 â–¾waitmillisecondsSet tone on pin #C5 â–¾at frequencyHzrepeattimesdowaitmillisecondsTurn off tone on pin #C5 â–¾waitmillisecondsSet tone on pin #C5 â–¾at frequencyHzArduino run first:Arduino loop forever:
11DataDataDataDateiname13000100500100500100TitleUnitTitleUnit01505050150000000latitudelongitudealtitudepDOPfixType30 10110110001000000000101197011100110022010090
{ }

Arduino Source Code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by senseBox Blockly on Thu Aug 28 2025 00:48:28 GMT+0000 (Coordinated Universal Time)
void setup() {
  pinMode(5, OUTPUT);
}
void loop() {
  tone(5,528);
  delay(250);
  noTone(5);
  delay(500);
  for (int i = 1; i <= 3; i += 1) {
    tone(5,260);
<>

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="176" y="88">
    <statement name="LOOP_FUNC">
      <block type="io_tone" id="@^k/wROu*~(8q)uoB_)E">
        <field name="TONEPIN">5</field>
        <value name="FREQUENCY">
          <shadow type="math_number" id="h^_j1.x4XmZ.aw79o!/L">
            <field name="NUM">528</field>
          </shadow>
        </value>
        <next>
          <block type="time_delay" id="7-+/Zix).oO)bAj.cYkD">
            <value name="DELAY_TIME_MILI">
              <block type="math_number" id=",C(:EB7Vcf`uOLX0qG;7">
                <field name="NUM">250</field>
              </block>
            </value>

Information about the Block

Select a Block to show the hint

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