Sorry. Download from here: http://code.google.com/p/jallib/ the jallib 0.9.0.zip, unzip and look into the sample folder. The file used as example is 16f877a_serial_software.jal or 16F977a_serial_print.jal.
On Wed, Feb 5, 2014 at 4:29 PM, phil heintz <[email protected]> wrote: > Thanks Vasile > > But where is this folder??? > > Sorry > Phil > > Le mercredi 5 février 2014 13:50:36 UTC+1, vasile a écrit : >> >> Phil, >> take a look also at 17F877_serial_print.jal in the sample folder. >> >> >> Vasile >> >> >> >> >> >> On Wed, Feb 5, 2014 at 2:40 PM, Oliver Seitz <[email protected]> wrote: >> >>> Open the library source file, and you will find in the first lines: >>> >>> -- Description: Software RS232 library >>> -- Library supports software RS232 send and receive procedure on any >>> IO-pin. >>> -- Both the inverted and non-inverted routines are available, >>> -- so it should fit any hardware. >>> -- Baudrate can be set between 110 and 230_400 (for 20 Mhz Xtal), >>> -- for lower Xtal frequencies the maximum baudrate will be equally lower. >>> -- Baudrates are optimized, so even the high baudrates shouldn't be a >>> problem >>> -- (my [Stef] standard = 115_200 Baud, which has never given me any >>> problems). >>> -- Interrupts are disabled during transmissions. >>> -- Default parameters are 8 databits, 2 stopbits, no parity, no >>> handshake. >>> -- . >>> -- To use this serial_software library in a user program: >>> -- . >>> -- 1. The following aliases must be defined: >>> -- serial_sw_tx_pin is pin_xy (any output pin) >>> -- serial_sw_rx_pin is pin_xy (any input pin) >>> -- . >>> -- 2. the following constants must be defined by the user program: >>> -- serial_sw_baudrate = 110 .. 240_000 >>> -- . >>> -- 3. The following constants may [optionally] be defined by the user >>> program: >>> -- serial_sw_invert = FALSE | TRUE (default: TRUE) >>> -- serial_sw_databits = 5 .. 8 (default: 8) >>> -- serial_sw_stopbits = 1 | 2 (default: 2) >>> -- . >>> -- 4. Include serial_software >>> -- . >>> -- 5. Set the selected serial_sw_tx_pin for output and >>> -- set the serial_sw_rx_pin for input. >>> -- . >>> -- 6. serial_sw_init() >>> -- >>> -- ------------------------------------------------------------ >>> ---------------- >>> >>> So, I don't think you have to modify the library. It must be configured >>> like described here. >>> >>> Greets, >>> Kiste >>> >>> ------------------------------ >>> *Von:* phil heintz <[email protected]> >>> *An:* [email protected] >>> *Gesendet:* 12:00 Mittwoch, 5.Februar 2014 >>> *Betreff:* [jallib] serial software with 18f452 library >>> >>> Hello >>> >>> Just including this library doesn't work >>> If somebody could give me some help to modify this library ... >>> It's a headache for me >>> Thanks a lot >>> Phil >>> -- >>> 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/groups/opt_out. >>> >>> >>> -- >>> 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/groups/opt_out. >>> >> >> -- > 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/groups/opt_out. > -- 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/groups/opt_out.
