I am working on a school project now and I want to have a blinking LED. The piece of hardware we use is not familiar because it is designed by school.
I have the methods to put on the led and to put off, but can't get it too blink.
dev.getPortD().setPinValue(0, true); //Turn on LED
dev.getPortD().setPinValue(0, false); //Turn of LED
All help is appreciated :)
thanks in advance.