Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2806

Calling the SetDigitalOutput function for an Arduino microcontroller

$
0
0

Hello,

I am trying to call the SetDigitalOutput function for an Arduino Uno microcontroller that has an Arduino Ethernet shield. I am able to call this function from the Teleduino website. If I have to call the function I use the below URL.

 

 

https://us01.proxy.teleduino.org/api/1.0/328.php?k=<key for my Arduino Uno>&r=setDigitalOutput&pin=3&output=1&expire_time=0&save=1

 

 

Using the above URL I can set a value of 1 to a digital pin 3 on the microcontroller.

 

Now, what I am trying to figure out is how I can call the SetDigitalOutput function from the Hana Cloud Platform (hcp) IOT services. In the MMS cockpit when I paste the above URL and paste it as shown below in the screenshot it doesn't do anything to my Arduino

 

Capture.JPG

 

Is there a lot to be done yet? My main concern is that the Teleduino URL appears to be a https Get command while all the MMS messaging technique appear to be sending messages through the Post command.

 

Comments welcome.

 

Regards

 

Bala


Viewing all articles
Browse latest Browse all 2806

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>