wolfssl_version.ino 641 B

123456789101112131415161718192021222324
  1. #include <Arduino.h>
  2. #include <wolfssl.h>
  3. #include <wolfssl/version.h>
  4. /* Choose a monitor serial baud rate: 9600, 14400, 19200, 57600, 74880, etc. */
  5. #define SERIAL_BAUD 115200
  6. /* Arduino setup */
  7. void setup() {
  8. Serial.begin(SERIAL_BAUD);
  9. while (!Serial) {
  10. /* wait for serial port to connect. Needed for native USB port only */
  11. }
  12. Serial.println(F(""));
  13. Serial.println(F(""));
  14. Serial.println(F("wolfSSL setup complete!"));
  15. }
  16. /* Arduino main application loop. */
  17. void loop() {
  18. Serial.print("wolfSSL Version: ");
  19. Serial.println(LIBWOLFSSL_VERSION_STRING);
  20. delay(60000);
  21. }