Hi OzGrant,
Maybe this way:
// set LED PORT F pins as outputs
GPIO_PORTF_DIR_R |= LED_RED + LED_BLUE + LED_GREEN;
// enable digital for LED PORT F pins
GPIO_PORTF_DEN_R |= LED_RED + LED_BLUE + LED_GREEN;
// clear all PORT F pins
GPIO_PORTF_DATA_R = 0;
// set LED PORT F pins high
GPIO_PORTF_DATA_R |= LED_RED + LED_BLUE + LED_GREEN;
cheers
Wojtek
@aBUGS...e
Thanks a lot
I shall try to implement your method in my program and let you know about results.
Your description is very clear , thank You once more !
Rgds
Wojtek
Hi,
I'm a greenhorn in lm4f Stellaris now, but I'm sure, I'll quickly overcame some troubles with it.
Besides lm4f I have Allwinner A10 boards, and plan to connect lm4f to one of them.
Cheers