New answers tagged

1

[library] = library name 1) edit the [library] library.properties file and add dot_a_linkage=true to the end ... (/home/name/Arduino/libraries/[library]/library.properties) 2) build the example ... 3) After the build is complete navigate to the build folder (In Linux it's located in the /tmp/arduino_build_xxxxxx folder) then copy the dot_a file from under ...


0

I have the same problem since version 1.8.10. With a good running sketch I don't get any message "Multiple libraries were found" (and no warnings also) But with every small compiler error I get a whole list of "Multiple libraries were found" My custom libraries are in a sketchbook location D:\DATA BACKUPPED\Documenten Albert\Arduino\Sketchbook-and-user-...


0

The DS3231 library from Rinky Dink is the best RTC library there is...I know, I tried them ALL. This library allows one to print date and time strings with only 3 Arduino print statements: Serial.print(rtc.getDateStr()); Serial.print(" -- "); Serial.println(rtc.getTimeStr()); Other RTC libraries force user to make the strings up themselves, at ...


0

You are not using #define correctly. The syntax is #define {name} {value}. There is no = between name and value so for your IP address lines you want #define myIp ip(192, 168, 1, 11)


1

Here's how I do it (for an Arduino that connects to my Mosquitto server) using wired ethernet (WiFi works the same way): #include <Ethernet.h> #include <PubSubClient.h> EthernetClient ethClient; PubSubClient client(ethClient); byte mac[] = { 0xde, 0xad, 0xbe, 0xef, 0xca, 0xfe }; IPAddress ip(192, 168, 1, 75); IPAddress server(192, 168, 1, ...


3

The arduino source files can be found on Github at https://github.com/arduino/Arduino, however the libraries have been moved to their own repositories: https://github.com/arduino/ArduinoCore-avr https://github.com/arduino/ArduinoCore-sam https://github.com/arduino/ArduinoCore-samd


Top 50 recent answers are included