Does anyone have any I2C examples in VB they would be willing to share? I'm trying to use a DS2482 1-Wire Master.
Thanks...Scott
I2C examples in VB?
Started by pugtech, Oct 30 2011 07:52 PM
1 reply to this topic
#1
Posted 30 October 2011 - 07:52 PM
#2
Posted 22 December 2011 - 12:15 AM
Scott,Does anyone have any I2C examples in VB they would be willing to share? I'm trying to use a DS2482 1-Wire Master.
Thanks...Scott
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
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users