MQTT Sketch will not move to my Arduino Uno
bpair last edited by bpair
I am using the codebender chrome app, but i have also tried in the arduino 1.6.4 IDE and get the same result. I can connect to my Arduino. I can move sketches to my arduino (I have tried on both an official unoR3 and a knockoff with same result). However when I use the latest MQTTGateway sketch on codebender or from MySensors I get an error saying cannot connect to my arduino. Since I can connect for other sketches I feel like this error is hiding the real issue. Has anybody else had this problem?
Sketch says this at the top which I assume is a version #
Created by Daniel Wiegert <email@example.com> Based on MySensors Ethernet Gateway by Henrik Ekblad <firstname.lastname@example.org> http://www.mysensors.org"
What ethernet module are you using?
Arduino Ethernet W5100 network expansion module - I bought from china: http://www.aliexpress.com/item/For-Arduino-W5100-Ethernet-module-network-expansion-board-SD-card-expansion-mega-2560-1280-328-UNR/32215690927.html
You think that might be causing an issue? Must that even be connected to load a sketch? I will remove it and try again later today.
Search for SOFTSPI here on the forum. It doesn't play along nicely with other SPI devices.
OK Thanks. I was just playing around with this last night and had not wired up the radio yet. So I actually did not enable SOFTSPI in the library. Maybe that is the issue? I will slow down and follow all the steps. Still seems like a strange error. Thanks for your help.
Enabling SOFTSPI corrected the issue.