ENC28J60 TCPIP working nice but LED?
Posted: Thu Nov 14, 2019 10:39 am
Hi Ben
The ENC28J60 TCPIP is working very nice.
But I suspect that unintentionally pin will be changed. I use PIN F1 on my board for something else and if I connect the lan Cable it gives problems.
I'm not sure what this code does in the ENC28J60 and how can I remove it.
The ENC28J60 TCPIP is working very nice.
But I suspect that unintentionally pin will be changed. I use PIN F1 on my board for something else and if I connect the lan Cable it gives problems.
I'm not sure what this code does in the ENC28J60 and how can I remove it.
Code: Select all
/*=----------------------------------------------------------------------=*\
Use :Turn the LED off.
\*=----------------------------------------------------------------------=*/
void FCD_03d99_led_base__TurnOn()
{
#if (1)
// pin = polarity
SET_PORT_PIN(F, 1, 0);
// #else
//Code has been optimised out by the pre-processor
#endif
}
/*=----------------------------------------------------------------------=*\
Use :Turn the LED on.
\*=----------------------------------------------------------------------=*/
void FCD_03d99_led_base__TurnOff()
{
#if (1)
// pin = 1 - polarity
SET_PORT_PIN(F, 1, 1 - 0);
// #else
//Code has been optimised out by the pre-processor
#endif
}