Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (17 sloc) 293 Bytes
using System;
using System.Collections.Generic;
using System.Text;
namespace SampleApp
{
class Program
{
static void Main(string[] args)
{
using (var bus = RPi.I2C.Net.I2CBus.Open("/dev/i2c-1"))
{
bus.WriteByte(42, 96);
byte[] res = bus.ReadBytes(42, 3);
}
}
}
}
You can’t perform that action at this time.