Skip to content

Instantly share code, notes, and snippets.

View pkourany's full-sized avatar

Paul Kourany pkourany

  • ITWorx Services
  • Ottawa, Canada
View GitHub Profile
@KenMacD
KenMacD / main.cpp
Created May 10, 2019 02:42
Particle.io Callback Variable Testing
#include <Particle.h>
static char* var_str = (char *)"ORIG STR";
static int var_int = 1;
static double var_double = 1.23;
static double override_double;
static const void* static_str_test(const char* name, Spark_Data_TypeDef type,
const void* var, void *reserverd) {
return "STATIC UPDATE";