Main Site Documentation

Cobra II wifi


How can I initialize wifi on Cobra II.
I can not find G120 class in latest release. (
netif = new WiFiRS9110(SPI.SPI_module.SPI2, G120.P1_10, G120.P2_11, G120.P1_9);

This pins are not correct:
netif = new WiFiRS9110(SPI.SPI_module.SPI1, Cpu.Pin.GPIO_Pin1, Cpu.Pin.GPIO_Pin2, Cpu.Pin.GPIO_Pin3);


Take a look at this post and codeshare entry

then use
wifi = new WiFiRS9110(Microsoft.SPOT.Hardware.SPI.SPI_module.SPI2, G120.P1_10, G120.P2_11, G120.P1_9, 4000);


@ Makla - The G120 class can be found in the GHI.Pins assembly.


@ Makla - Wifi = new WiFiRS9110(SPI.SPI_module.SPI2,GHI.Pins.G120.P1_27 , GHI.Pins.G120.P2_13, GHI.Pins.G120.P1_28, 4000);

[EDIT] oeps… last post was 4 days ago, problem long solved i guess… maybe activate the option topic answered again :stuck_out_tongue: