Code: Select all
Net_Ethernet_Intern_Set_Default_PHY()
Net_Ethernet_Intern_stackInitTCP()
Net_Ethernet_Intern_Init(@myMacAddr, @myIpAddr, Net_Eth_Int_AUTO_NEGOTIATION and Net_Eth_Int_DEFAULT_MAC ) 'init ethernet board
Net_Ethernet_Intern_confNetwork(@ipMask, @gwIpAddr, @dnsIpAddr)
while(i <> 1)
i = Net_Ethernet_Intern_connectTCP(@remoteIpAddr, 3000, 3000, @socketTCP)
wend
(Using Visual TFT with FTDI's version of connect eve, resistive touch)
If I comment out these lines it will work without the Ethernet cable.
Code: Select all
Net_Ethernet_Intern_confNetwork(@ipMask, @gwIpAddr, @dnsIpAddr)
while(i <> 1)
i = Net_Ethernet_Intern_connectTCP(@remoteIpAddr, 3000, 3000, @socketTCP)
wend