I2C examples in VB?
Posted 30 October 2011 - 07:52 PM
Posted 22 December 2011 - 12:15 AM
Does anyone have any I2C examples in VB they would be willing to share? I'm trying to use a DS2482 1-Wire Master.
I can see that there is a class in the 4.2 SDK... but I don't see any examples of implementation.
Here is my extensive code
Imports System Imports Microsoft.SPOT Imports System.IO.Ports Imports SecretLabs.NETMF.Hardware.NetduinoPlus Imports System.Threading Imports Microsoft.SPOT.Hardware Imports SecretLabs.NETMF.Hardware Public Class I2Temperature Dim MyOW As I2CDevice Public Sub New() Dim MyConfig As New I2CDevice.Configuration(&H91 >> 1, 100) MyOW = New I2CDevice(MyConfig) End Sub
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users