Controlling the AD5254 Digital Potentiometer
i'm having heck of time trying control first potentiometer rdac0 in ad5254 chip.
i've read 2 other forum posts i've found on particular chip , i'm trying modify digital_potentiometer example controls ad5171 digital potentiometer similar exceptions.
the question following:
how query acknowledgement slave chip supposed come after sending slave address down bus, after instruction set slave , after data byte?
i'm assuming wire.h library takes care of start sequence , notifying slave (by sending slave address down bus) has instructions coming way wire.begintransmission()
does library take care of acknowledge bit slave sends out? or have end transmission , query bus?
any insight helpful.
thanks in advance.
p.s. if has working sketch chip great if can shared. i've tried 1 neurostar can found on these forums not quite work. if else has gotten code work out changes please let me know can troubleshoot set-up.
i've read 2 other forum posts i've found on particular chip , i'm trying modify digital_potentiometer example controls ad5171 digital potentiometer similar exceptions.
the question following:
how query acknowledgement slave chip supposed come after sending slave address down bus, after instruction set slave , after data byte?
i'm assuming wire.h library takes care of start sequence , notifying slave (by sending slave address down bus) has instructions coming way wire.begintransmission()
does library take care of acknowledge bit slave sends out? or have end transmission , query bus?
any insight helpful.
thanks in advance.
p.s. if has working sketch chip great if can shared. i've tried 1 neurostar can found on these forums not quite work. if else has gotten code work out changes please let me know can troubleshoot set-up.
this should answer of questions:
http://www.gammon.com.au/i2c
it's not complicated, library of it.
http://www.gammon.com.au/i2c
it's not complicated, library of it.
Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > Controlling the AD5254 Digital Potentiometer
arduino
Comments
Post a Comment