Added after 20 [minutes]: .
Sending text:
Using the command:
Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tamheyka wrote:.What I mean is how to build strings from ready-made strings plus single characters plus numeric values.
heyka wrote:.is this what the text in the buf variable will look like?
heyka wrote:.tension,5,intensity,1
kaczakat wrote:.I just connected it to I2C, I didn't even check the operation over SPI. Try changing what you commented in the sketch to I2C (actually the example is under I2C) and connect it under the I2C pins of the Arduino. If something didn't work check if the I2C scanner detects it on the bus.
heyka wrote:.is it possible to run an I2C scanner?
heyka wrote:.And one more question, does the NodeMCU support any external interrupts
Slawek K. wrote:.
Third - by providing 6 arguments in the correct order i.e. year, month, day, hour, minute, second
TL;DR: DS1307 RTCs ship with 56 bytes of battery-backed user RAM, and “Both classes inherit the print() method” [Elektroda, khoam, post #17961199] Append "\r\n" to ESP8266 UDP packets so smartphone apps display them properly. Use sprintf() or Arduino String to merge numbers with text. [Maxim, DS1307 Datasheet]
Why it matters: Correct line endings, string handling, and timekeeping stop silent data losses and hard-to-trace bugs in IoT builds.
• DS1307 address: 0x68; user RAM: 56 bytes; runs at 32 kHz [Maxim, DS1307 Datasheet] • NodeMCU I²C default pins: D1 (SCL) & D2 (SDA) [RoboIndia I2C Scanner] • lcd/Serial.print(x, d) prints x with d decimal places; d=0 gives integers [Arduino Reference] • ESP8266 UDP max payload: 1472 bytes on typical Wi-Fi MTU 1500 [Espressif SDK] • attachInterrupt() works on GPIO0,2,4,5,12–15; level or edge triggered [ElectronicWings NodeMCU Interrupts]