Hello Community,
first of all, sorry for my bad english.
I use the LPC1549 Board and i want to create a Red State Machine file with the SCT0.
My program should be toogle the SCT0_OUT3, but it don´t work =(
My Main look like this:
#include "chip.h"
#include "board.h"
#include "SCT0_Init.h"
#include "sct_fsm.h"
int main(void)
{
volatile int i = 0;
#if defined (__USE_LPCOPEN)
SystemCoreClockUpdate();
#if !defined(NO_BOARD_LIB)
Board_Init();
Board_LED_Set(0, true);
#endif
#endif
Chip_SWM_Init();
Chip_SWM_FixedPinEnable(SWM_FIXED_SCT0_OUT3,true);
Chip_SCT_Init(LPC_SCT0);
sct_fsm_init();
while(1)
{
i++;
}
return 0;
}
As attachment to find an image of my created state machine.
I hope someone can help me. Thanks alot!