Hi Joep,

That sounds like a better name.  And my current approach was to start with 
a copy of i2c_software.jal and rename its initialize function. I also added 
some underscores to make a few routines internal.

How should I proceed -- is there a temporary place I can upload a draft for 
your review?  Its been awhile since I added any new file to JALLIB.

thank you,

William


On Friday, March 28, 2014 12:52:01 PM UTC-5, William wrote:
>
> Greetings,
>
> I tend to make dumb mistakes while I am working with a new / unfamiliar 
> i2c slave chip.  At some point, I can get the chip confused such that I 
> have to resort to turning off the power on the board.  SDA is 'stuck' low.
>
> However, when using i2c_software.jal, its version of i2c_initialize() will 
> reset/clear away the problem. 
>
> What I am doing wrong with i2c_hardware.jal?
>
> As a stop-gap measure, in a local directory here, I have copied 
> i2c_software.jal, to a new file, i2c_reset.jal, and stripped out every 
> thing but i2c_initialize(), and renamed the function to i2_reset(). I use 
> it just for reset, and use i2c_hardware.jal for everything else. This 
> approach seems to be working so far.
>
> Suggestions welcome!
>
> William
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/jallib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to