summaryrefslogtreecommitdiff
path: root/response.c
diff options
context:
space:
mode:
authorroot <root@fedora-arm.domain.avtechpulse.com>1999-12-31 19:58:32 -0500
committerroot <root@fedora-arm.domain.avtechpulse.com>1999-12-31 19:58:32 -0500
commitf6029e78658411a7f56adf9f3d1f36bfb699a61b (patch)
treead9d5944167e7cded6c02e43d0ab2469fc889746 /response.c
parentd47bc9182fbfd1b4c6bb22ecbc82ce16107a60b9 (diff)
Added I2C address macros
Diffstat (limited to 'response.c')
-rw-r--r--response.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/response.c b/response.c
index 6871a82..d0951d3 100644
--- a/response.c
+++ b/response.c
@@ -107,9 +107,9 @@ void responseCb(gpointer instance, GObject *arg1, gpointer user_data)
g_strstrip (str);
guchar status = 0; // delete me, later - FIXME
- I2C test code
- I2C_Write (0x3b, 0xff);
- status = I2C_Read (0x3b);
+ // I2C test code
+ I2C_Write (PCF8574A + Upper_Encoder_Port, 0xff);
+ status = I2C_Read (PCF8574A + Upper_Encoder_Port);
// dummy response function
gchar* upper = g_ascii_strup(str, len);