I'm more or less newbie in STM32Duino... I have STM32H750B-DK board and would love to program it using STM32Duino library.
I've quickly tried with several 750 chips, but simple blink LED example below doesn't blink (work), or at least I think it doesn't.
Any advice what can be expected to work on this microcontroller? Should GPIO work ? Any other peripherals that should work ?
How can I debug program on assembly level (it seems to work, pc is changing,but I cannot see the code) ?
Thanks in advance,
regards,
Bulek.
Code: Select all
int i;
void setup() {
// put your setup code here, to run once:
// initialize digital pins PI13,PJ2 as outputs.
pinMode(PI_13, OUTPUT);
pinMode(PJ_2, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(PI_13, HIGH); // turn the LED on (HIGH is the voltage level)
digitalWrite(PJ_2, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
i++;
digitalWrite(PI_13, LOW); // turn the LED off by making the voltage LOW
digitalWrite(PJ_2, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
}