Skip to content

phfbertoleti/ThingSpeakC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ThingSpeakC

Upload data to ThingSpeak in C (socket level HTTP req).

Getting Started

Instructions (for Linux users):

Build and Clone

First clone this repo:

"$ git clone https://github.com/phfbertoleti/ThingSpeakC.git"

Then to compile, in the clone directory, type the command make

"$ make"

(so, It'll compile the program) and have fun!

Execute

To execute the program, some parameters are needed on its call (key and data to be sent, in this order). For example:

"$ ./ThingSpeakC E4AKR731LNBQ67EW 1.1 5.2 10.7"

It will send:

  • field1 = 1.1,
  • field2 = 5.2
  • field3 = 10.7

To ThingSpeak's channel corresponding to E4AKR731LNBQ67EW key, in this case, the channel This Channel.

So, to send data to your own channel, just change the key, change the data and have fun!

IMPORTANT: this program only works with float type data.

Author

Pedro Bertoleti

About

Upload data to ThingSpeak in C!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published