Closed hhk7734 closed 2 years ago
Could you please also provide a sensible example for the board that that you're using here? Is it odroid?
Could you please also provide a sensible example for the board that that you're using here? Is it odroid?
https://github.com/hhk7734/oduino
#include <BlynkSimpleLinuxSocket.h>
const char *_auth = "";
const int LED_PIN = 24;
BLYNK_WRITE( V1 )
{
int temp = param.asInt();
digitalWrite(LED_PIN, temp);
Serial.print("LED: ");
Serial.println( temp == 0 ? "OFF" : "ON" );
}
void setup()
{
Serial.begin( 9600 );
Blynk.begin( _auth );
pinMode( LED_PIN, OUTPUT );
}
void loop()
{
Blynk.run();
}
Description
I made odroid-series arduino core. I want to write blynk code on the Arduino platform even if on the embedded Linux.
Issues Resolved
Until now, for using blynk, the code with blynk was compiled using command line tools on the embedded Linux.
If you merge BlynkSimpleLinuxSocket.h, to use blynk is much easier on the embedded Linux with Arduino.