Issue with adding new device


#1

I followed the steps to add a push button. After copy, paste the sketch file and compile the sketch, the pin setting is still inactive. I have made the connection of the push button to Arduino board on a breadboard as illustrated in the tutorial page.

I didn’t see any difference of the sketch codes from the previous adding of Arduino. Please assist.


#2

Hi,
it’s okay, the function is inside the Cayenne library.
It works?


#3

Nope…I can’t add the sensor as the pin setting is inactive


#4

What do you use for connection (Ethernet shield, Serial, …)?


#5

I am using Ethernet shield


#6

On which pin you have a button attached?
On some pins, there is communication between the arduino and the ethernet shield.


#7

According to tutorial, the connection is at pin 7.


#8

Hi,
I did the wire connections on the ethernet shield. I suppose it is the
correct way, since the shield is on top of uno now?
I have wired a push button switch to pin 7, through supply of 3.3V from the
board.


#9

Button must be connected to 5V pin.


#10

Hi I managed to create the widget. However it did not respond when I press
the button.


#11

Please show some photo or screenshot. It would help me in finding the problem.


#12

Please also share the code you are using