Re: IOT Kit January 12, 2015 05:20PM |
Admin Registered: 11 years ago Posts: 351 |
function main() print "\n******************************************" print "\nWi-Fi Demonstatrion firmware" print "\nDetails at www.bypic.co.uk" print "\n******************************************" wf_start() // mainly to open com port // auto run directions io_pinMode(pRUNCL,RUNCL,IN,WPU) io_pinMode(pRUNSV,RUNSV,IN,WPU) // server has priority // C9 + C8 to ground - server if io_read(pRUNSV,RUNSV) = 0 then mode(2) // set as an access point HTTPserver() endif // C9 + C7 to ground - client if io_read(pRUNCL,RUNCL) = 0 then mode(1) // set as a station HTTPclient() endif menu() endf
Re: IOT Kit January 13, 2015 11:56AM |
Registered: 9 years ago Posts: 4 |
Re: IOT Kit January 13, 2015 04:00PM |
Registered: 9 years ago Posts: 4 |
Re: IOT Kit January 20, 2015 04:57PM |
Registered: 9 years ago Posts: 8 |
Re: IOT Kit January 20, 2015 05:28PM |
Admin Registered: 11 years ago Posts: 351 |
Re: IOT Kit January 20, 2015 09:52PM |
Registered: 9 years ago Posts: 8 |