Joep Suijs wrote:
> 2009/11/24 Wayne [email protected]
> 
>> Because I did not find any samples of how to use print.jal or format.jal
>> with serial_sw_write.  I don't really understand enough to figure that out.
>>
>> I would like to know if they would work though.
>>
> 
> Just init the serial software comms like you do now and use serial_sw_data
> as the first param in stead of serial_hw_data.
> Haven't tested this, but it should work...
> 

Joep

   I am integrating a Maxim DS18B20 into my application and asked on 
jallist if anyone had a jallib lib they were working on.  I got a 
response, with a link, to one that Helge<[email protected]> had 
modified from on that Stef had written back in 2002/4.

   In looking at the application I noticed that Helge also had a problem
getting 9600 baud with a 4 MHZ clock on a 16c84. He had this in the code
const serial_sw_baudrate = 10400 (this is really 9600 baud).

I just tried that with the 16f628a_lcd_k107sample.jal. What do you know, 
the k107 communicates with LCD now with a 4 MHZ Crystal.

I am reporting this but wish I had the answer as to why this works.  I 
also hope that someone else wanting to work at 9600 baud can use the 
information above.

   I still can't use it on the 12f509 due to the lack of INTCON_GIE 
which is required by the serial_software.jal lib but sure would like to. 
  :-)

Best Regards

Wayne

--

You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.


Reply via email to