I want to upload the real time data of ultrasonic sensor attached to my Arduino Uno and I have been using esp8266 module for the WiFi connection.
I want to upload to PubNub but I don't know how to start writing the code for PubNub and where do I have to write the code.
I have the code working on my Arduino using the ultrasonic sensor in C++ language, printing the readings on the serial monitor. However, the code will be definitely changed in order to upload the sensor readings to PubNub.
Sorry, I am completely new to this stuff therefore I don't know much about it.