In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ALTITUDEAP wrote: I recieved some very good help form jonathan. He sent me this information to talk to the Max chip form (i believe) a pic. Init_Display: i2cout dispSDA,dispSCL,dispDev,$01,[$FF,$FF] ' Set Intensity i2cout dispSDA,dispSCL,dispDev,$03,[$01] ' Show all 4 chars i2cout dispSDA,dispSCL,dispDev,$04,[%00001001]' Config Byte i2cout dispSDA,dispSCL,dispDev,$60,[" "," "," "," "]' Clear display i2cout dispSDA,dispSCL,dispDev,$60,["INIT"]',fail pause 1000 i2cout dispSDA,dispSCL,dispDev,$60,[" "," "," "," "]' Clear display Note that line 5 is the one that displays the word "INIT" using the internal font. Lines 1 -3 init the display. Hope this helps. If you have any other questions, mail directly to jpeakall@madlabs.info, I will respond faster that way. So i wrote mine like this. [code] Start: ' Max6953 I2C Initialization I2CStart SDA 'Set Intensity I2CSend SDA, TopSlaveID 'Addresses the top Max Chip I2CSend SDA, $01 I2CSend SDA, [$FF,$FF] I2CStop SDA I2CStart SDA 'Show all 4 characters I2CSend SDA, TopSlaveID I2CSend SDA, $03 I2CSend SDA, $01 I2CStop SDA I2CStart SDA 'Config Byte I2CSend SDA, TopSlaveID I2CSend SDA, $04 I2CSend SDA, %00001001 I2CStop SDA I2CStart SDA 'Clear Screen I2CSend SDA, $60 I2CSend SDA, [" "," "," "," "] I2CStop SDA [/code] I cant get past the [code] I2CSend SDA, [$FF,$FF] [/code] in the debug window. Is i because i need to do a seperate entry for each item. ie.. ' [code] Max6953 I2C Initialization I2CStart SDA 'Set Intensity I2CSend SDA, TopSlaveID 'Addresses the top Max Chip I2CSend SDA, $01 I2CSend SDA, $FF I2CSend SDA, $FF I2CStop SDA [/code] Will that make it work and does it mean the same thing as the samlpe pic code sent to me? ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=107056 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)