That is exactly what I was looking for!
I thought I had done this before but could have been mistaken.
Will try later this evening.
Thanks!
-Steve
Type: Posts; User: ecoli-557; Keyword(s):
That is exactly what I was looking for!
I thought I had done this before but could have been mistaken.
Will try later this evening.
Thanks!
-Steve
Thanks, I will give that a try.
Now if I could write both bytes at the same SPI communication, that would be an even bigger win!
OK, it is working!
Thanks to all who helped and provided some food for thought.....
Code below for any others who need to do this:
OutA=$FFFF ...
Richard-
I tried the following:
OutA=$FFFF 'Initial value for word var
PortDevice=$D ...
Thanks!
I tried your suggestion:
OutA=$FFFF 'Initial value for word var
OutA.0=0 ...
Why does this not work?
OutA.12=0 doesn't gen an error but it nor the other (OutA.15=0) turns ON an LED?????
OutA=$FFFE 'Initial...
Henrik-
Thanks for the assist, but I don't think I can use that idea. There are some outputs which will be already active which another serial command comes in and I will need to add to the already...
Thanks I will try that!
I have made some progress but I still need a way to get from 1 byte which will tell me which of the 16 outputs to turn on.
Current test code:
...
Henrik-
Also forgot to mention that in the older I2C design I had 8 bits of inputs and 8 bits of outputs on one 2317.
This new design is all outputs - I thought it would be easier!
Not so...
Henrik-
I may have been too hasty in my description ( I am back on my home project) as I am stumped. I had used the I2C version of this part a while back and have it working. Now I am trying to...
Thanks, yes I did say which chip in the topic.... <grin>.
And yes again, that is what I had come up with and I had used that in the past - using
outputs var byte[4]
and then indexing by...
Hello to All-
I am trying to do something and I just can't break through the fog to see how this may be accomplished;
Assign an alias to a port pin on a port expander.
I know how to do it with a...