Kryten
New Member
Is it possible to define a delay if i shall use it several times
I mean I can define ports as names for easy programming and give low or high output short names like
Can I do the same with a delay?
I looking to turn off (or on) several outputs for a short period of time (250ms)
will it make sense to do it like this?
I mean I can define ports as names for easy programming and give low or high output short names like
Code:
#define LED_OFF output_low
Can I do the same with a delay?
I looking to turn off (or on) several outputs for a short period of time (250ms)
will it make sense to do it like this?
Code:
#define LED_blink output_low delay(250ms) output_high