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
Hello, i have a brand new nrf52840 development kit with jlink on board
When it arrived, LED was blinking (the one near actual NRF chip.
However, when i tried uploading simple code
#include<Arduino.h>voidsetup()
{
// put your setup code here, to run once:pinMode(PIN_LED1, OUTPUT);
pinMode(PIN_LED2, OUTPUT);
pinMode(PIN_LED3, OUTPUT);
pinMode(PIN_LED4, OUTPUT);
pinMode(LED_BUILTIN, OUTPUT);
}
voidloop()
{
digitalWrite(PIN_LED1, HIGH); // turn the LED on (HIGH is the voltage level)digitalWrite(PIN_LED2, HIGH); // turn the LED on (HIGH is the voltage level)digitalWrite(PIN_LED3, HIGH); // turn the LED on (HIGH is the voltage level)digitalWrite(PIN_LED4, HIGH); // turn the LED on (HIGH is the voltage level)digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)delay(3000); // wait for a seconddigitalWrite(PIN_LED1, LOW); // turn the LED off by making the voltage LOWdigitalWrite(PIN_LED2, LOW); // turn the LED on (HIGH is the voltage level)digitalWrite(PIN_LED3, LOW); // turn the LED on (HIGH is the voltage level)digitalWrite(PIN_LED4, LOW); // turn the LED on (HIGH is the voltage level)digitalWrite(LED_BUILTIN, LOW); // turn the LED on (HIGH is the voltage level)delay(3000); // wait for a second
}
No diode was blinking anymore. I also did try to upload arduino-blink example with same results.
This leads me to believe uploading firmware works however something in program is not correct? Or there is a bug?
Hello, i have a brand new nrf52840 development kit with jlink on board
When it arrived, LED was blinking (the one near actual NRF chip.
However, when i tried uploading simple code
No diode was blinking anymore. I also did try to upload
arduino-blink
example with same results.This leads me to believe uploading firmware works however something in program is not correct? Or there is a bug?
my platformio.ini:
The text was updated successfully, but these errors were encountered: