Skip to content

Instantly share code, notes, and snippets.

SchofieChen

Block or report user

Report or block SchofieChen

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Modbus class C#
using System;
using System.Collections.Generic;
using System.Text;
using System.IO.Ports;
namespace Modbus_Poll_CS
{
class modbus
{
private SerialPort sp = new SerialPort();
@SchofieChen
SchofieChen / Client
Last active Aug 20, 2018
Mqtt Subscribe
View Client
import time, signal
import paho.mqtt.client as mqtt
client = None
mqtt_looping = False
class mqtt_client_program():
def __ini__(self,):
pass
def on_connect(self,mq, userdata, rc, _):
You can’t perform that action at this time.