From 59fcb5447c7774f956e804a58177d0ade3e39de0 Mon Sep 17 00:00:00 2001 From: HKayani <54369951+HKayani@users.noreply.github.com> Date: Tue, 15 Jun 2021 15:38:59 -0400 Subject: [PATCH] Fixed ADS7830 address for Java --- Java/ADS7830.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Java/ADS7830.java b/Java/ADS7830.java index ec2928a..f0a6e23 100755 --- a/Java/ADS7830.java +++ b/Java/ADS7830.java @@ -15,8 +15,8 @@ public static void main(String args[]) throws Exception { // Create I2C bus I2CBus Bus = I2CFactory.getInstance(I2CBus.BUS_1); - // Get I2C device, ADS7830 I2C address is 0x48(72) - I2CDevice device = Bus.getDevice(0x48); + // Get I2C device, ADS7830 I2C address is 0x4B(75) + I2CDevice device = Bus.getDevice(0x4B); // Differential inputs, Channel-0, Channel-1 selected device.write((byte)0x04);