Go Down

Topic: UNamkr and Arduino mkr zero (Read 52 times) previous topic - next topic

weal5300

I want to send some code to sigfox cloud but I don't know how to use UNAmkr codes to send the code , Could anyone help me?please


Codes for UNamkr is here:
https://unabiz.github.io/UnaMKR/#/30-Arduino


The code that I want to send it :

#include "Adafruit_seesaw.h"

Adafruit_seesaw ss;

void setup() {
  Serial.begin(115200);

  Serial.println("seesaw Soil Sensor example!");
 
  if (!ss.begin(0x36)) {
    Serial.println("ERROR! seesaw not found");
    while(1);
  } else {
    Serial.print("seesaw started! version: ");
    Serial.println(ss.getVersion(), HEX);
  }
}

void loop() {
  float tempC = ss.getTemp();
  uint16_t capread = ss.touchRead(0);

  Serial.print("Temperature: "); Serial.print(tempC); Serial.println("*C");
  Serial.print("Capacitive: "); Serial.println(capread);
  delay(100);
}


pmagowan

start by reading the instructions on how to post in this forum.  It is a sticky post at the top of every section.  Then edit your post to put the code in code tags.  Much more likely to get a useful reply.

Go Up