You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#include<Arduino.h>
#include"Arduino_LED_Matrix.h"
#include"animation.h"
ArduinoLEDMatrix matrix;
voidsetup() {
Serial.begin(115200);
// you can also load frames at runtime, without stopping the refresh
matrix.loadSequence(animation);
matrix.begin();
// turn on autoscroll to avoid calling next() to show the next frame; the paramenter is in milliseconds// matrix.autoscroll(300);
matrix.play(true);
}
voidloop() {
delay(500);
Serial.println(millis());
}
{
// See http://go.microsoft.com/fwlink/?LinkId=827846// for the documentation about the extensions.json format"recommendations": [
"platformio.platformio-ide"
],
"unwantedRecommendations": [
"ms-vscode.cpptools-extension-pack"
]
}
Upon running the usual: pio run && pio run --target upload, it looks like everything uploaded successfully. but it just flashes (removes all the current code running (sorry if I'm not using the right terminology, I'm a computer science major and I'm trying to learn electrical engineering just for fun, as a hobby)). And I'm running what I think is right, and this is the output:
PS C:\Users\aidan\Documents\LED_Matrix_Blink_LED> pio run && pio run --target upload
Processing uno_r4_wifi (board: uno_r4_wifi; platform: renesas-ra; framework: arduino)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/renesas-ra/uno_r4_wifi.html
PLATFORM: Renesas RA (1.2.0) > Arduino Uno R4 WiFi
HARDWARE: RA4M1 48MHz, 32KB RAM, 256KB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, jlink)
PACKAGES:
- framework-arduinorenesas-uno @ 1.0.4
- tool-bossac @ 1.10901.0 (1.9.1)
- toolchain-gccarmnoneeabi @ 1.100301.220327 (10.3.1)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 18 compatible libraries
Scanning dependencies...
Dependency Graph
|-- LED_Matrix @ 1.0.0
Building in release mode
Compiling .pio\build\uno_r4_wifi\src\main.cpp.o
Checking size .pio\build\uno_r4_wifi\firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [= ] 7.7% (used 2520 bytes from 32768 bytes)
Flash: [= ] 13.8% (used 36119 bytes from 262144 bytes)
====================================================================================== [SUCCESS] Took 1.15 seconds ======================================================================================
Processing uno_r4_wifi (board: uno_r4_wifi; platform: renesas-ra; framework: arduino)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/renesas-ra/uno_r4_wifi.html
PLATFORM: Renesas RA (1.2.0) > Arduino Uno R4 WiFi
HARDWARE: RA4M1 48MHz, 32KB RAM, 256KB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, jlink)
PACKAGES:
- framework-arduinorenesas-uno @ 1.0.4
- tool-bossac @ 1.10901.0 (1.9.1)
- tool-jlink @ 1.78811.0 (7.88.11)
- tool-openocd @ 3.1200.0 (12.0)
- toolchain-gccarmnoneeabi @ 1.100301.220327 (10.3.1)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 18 compatible libraries
Scanning dependencies...
Dependency Graph
|-- LED_Matrix @ 1.0.0
Building in release mode
Checking size .pio\build\uno_r4_wifi\firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [= ] 7.7% (used 2520 bytes from 32768 bytes)
Flash: [= ] 13.8% (used 36119 bytes from 262144 bytes)
Configuring upload protocol...
AVAILABLE: cmsis-dap, jlink, sam-ba
CURRENT: upload_protocol = sam-ba
Looking for upload port...
Auto-detected: COM5
Forcing reset using 1200bps open/close on port COM5
Uploading .pio\build\uno_r4_wifi\firmware.bin
Erase flash
Done in 0.001 seconds
Write 36120 bytes to flash (9 pages)
[ ] 0% (0/9 pages)
[=== ] 11% (1/9 pages)
[====== ] 22% (2/9 pages)
[========== ] 33% (3/9 pages)
[============= ] 44% (4/9 pages)
[================ ] 55% (5/9 pages)
[==================== ] 66% (6/9 pages)
[======================= ] 77% (7/9 pages)
[========================== ] 88% (8/9 pages)
[==============================] 100% (9/9 pages)
Done in 2.277 seconds
====================================================================================== [SUCCESS] Took 4.37 seconds ======================================================================================
PS C:\Users\aidan\Documents\LED_Matrix_Blink_LED>
0 lights come on, nothing happens, even if I do a Serial.println("test"); in loop() or setup(), it doesn't do anything after checking serial monitor?
Expected:
For literally output or any changes other then flashing? I'm confused?
The text was updated successfully, but these errors were encountered:
Hello. I have an Arduino UNO Rev4 WiFi currently, and here is some verbose info:
Background Info:
Py. + PIO Vers.:
File Tree/Structure:
Platform.ini
:src/animation.h
:src/main.cpp
:.vscode/settings.json
.vscode/launch.json
.vscode/extensions.json
.vscode/c_cpp_properties.json
Everything is the same as the
arduino-uno-r4-led-animation
example.Problem:
Upon running the usual:
pio run && pio run --target upload
, it looks like everything uploaded successfully. but it just flashes (removes all the current code running (sorry if I'm not using the right terminology, I'm a computer science major and I'm trying to learn electrical engineering just for fun, as a hobby)). And I'm running what I think is right, and this is the output:0 lights come on, nothing happens, even if I do a
Serial.println("test");
inloop()
orsetup()
, it doesn't do anything after checking serial monitor?Expected:
For literally output or any changes other then flashing? I'm confused?
The text was updated successfully, but these errors were encountered: