This tutorial shows how to use the VisualGDB Advanced Arduino Project Subsystem to develop projects for ARM-based Arduino-compatible boards. In this tutorial we will create a basic “Blinking LED” project for the Arduino Due board and will show how to FLASH it using the built-in bootloader and debug it using Segger J-Link.
Before you begin, install VisualGDB 5.4 Preview 4 or later.
#include <HardwareSerial.h> void setup() { pinMode(LED_BUILTIN, OUTPUT); SerialUSB.begin(115200); } int g_Iter = 0; void loop() { digitalWrite(LED_BUILTIN, HIGH); delay(1000); digitalWrite(LED_BUILTIN, LOW); delay(1000); char tmp[32]; sprintf(tmp, "Iteration %d\r\n", g_Iter++); SerialUSB.write(tmp); }
#include <HardwareSerial.h> void setup() { pinMode(LED_BUILTIN, OUTPUT); SerialUSB.begin(115200); } int g_Iter = 0; void loop() { digitalWrite(LED_BUILTIN, HIGH); delay(1000); digitalWrite(LED_BUILTIN, LOW); delay(1000); char tmp[32]; sprintf(tmp, "Iteration %d\r\n", g_Iter++); SerialUSB.write(tmp); }
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4