Mike Green's OS system
Newzed
Posts: 2,503
For Mike Green:
After four days of effort, I finally got the Proto Board communicating with my 4x20 LCD.· The problem was with the line:
serialOut(6,c,stampBaud,sim#NInv,8)
I changed it from non-inverted to inverted and Bingo! - it worked.
Now I have another little problem.· I was to display the date/tine from a DS1302 in HEX2 format.· With the Stamp I write:
serout...HEX2 month, HEX2 date..etc.
and for the Prop I write:
text.hex(month,2) and so on.
The problem is, there is no way, using the simulation object, that I can send something like #07 as a byte.· Would you have time to write a
"sendhex'" method for simulation that would let me send the DS1302 parameters to the LCD in HEX2 format, so I could write something like:
sendhex(month,2)
·· hexOut(6,...(something).......stampBaud,sim#Inv,8)
If you don't have the time, that's OK.· I can mathematically manipulate the 1302 data so it goes to the LCD in the right format - it just takes a lot of time and uses quite a bit of memory.
Thanks
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
After four days of effort, I finally got the Proto Board communicating with my 4x20 LCD.· The problem was with the line:
serialOut(6,c,stampBaud,sim#NInv,8)
I changed it from non-inverted to inverted and Bingo! - it worked.
Now I have another little problem.· I was to display the date/tine from a DS1302 in HEX2 format.· With the Stamp I write:
serout...HEX2 month, HEX2 date..etc.
and for the Prop I write:
text.hex(month,2) and so on.
The problem is, there is no way, using the simulation object, that I can send something like #07 as a byte.· Would you have time to write a
"sendhex'" method for simulation that would let me send the DS1302 parameters to the LCD in HEX2 format, so I could write something like:
sendhex(month,2)
·· hexOut(6,...(something).......stampBaud,sim#Inv,8)
If you don't have the time, that's OK.· I can mathematically manipulate the 1302 data so it goes to the LCD in the right format - it just takes a lot of time and uses quite a bit of memory.
Thanks
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
Comments
I'm not sure where I saved a copy of the "simulation object". Please post a copy or a link to where I sent it to you and I'll have a look at it ... probably Thursday.
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·