Hi Joep, I got your files as PM. Thanks. It occurs I forgot (again) -long-start option. Now works like a charm. Sorry for the noise ! (still I can't understand fully what happened, anyway...)
Cheers, Seb 2009/6/26 Joep Suijs <[email protected]> > > Hi Seb, > > I'm afraid I can't reproduce the issue you describe. > 16f88_serial_print.jal works as expected and your program (with only a > slight modification to set one pin output/high) gives: > > Program terminated > Entering terminal > !Channel 0: 0 > Channel 1: 623 > Channel 2: 622 > Channel 3: 608 > Channel 4: 176 > Channel 5: 180 > Channel 6: 203 > Channel 0: 565 > Channel 1: 615 > Channel 2: 625 > Channel 3: 631 > Channel 4: 151 > Channel 5: 161 > Channel 6: 202 > Channel 0: 598 > Channel 1: 621 > > On an 16f88 with the jallib-svn compiler version... > > Enclosed the jal, asm and hex file I used... > What's the difference? Bootloader? > > Joep > > 2009/6/25 Sebastien Lelong <[email protected]>: > > Hi Joep, > > > > Sorry for my late response, I've been (and will still be) very busy these > > days. > > > > I tried print_word_dec() with a constant, it just won't work too. I've > also > > run 16f88_serial_print.jal (with few modifications: internal osc @8MHz, > > baudrate: 19200), and the problem is reproducible. In the "word" section, > I > > got: > > > > Test print.jal - words > > 4 > > B26E > > 1011001001101110 > > -3 > > > > > > but no trace of "45678" (just a "4" ?). This would confirm we have a > problem > > with print.jal... Can you reproduce this ? > > > > You can also have a look at my code using ADC (see attachment) (must be > > compiled against SVN rev. >=1040) > > > > > > Cheers, > > Seb > > > > > > > > > > 2009/6/22 Joep Suijs <[email protected]> > >> > >> Hi Seb, > >> > >> I used print yesterday and did not notice anything wrong. Can you repeat > >> this issue when you call print_word_dec() with a constant (or var with > >> constant assinged to it)? Can you provide me the program that does not > >> properly? > >> > >> Joep > >> > >> 2009/6/21 Sebastien Lelong <[email protected]> > >>> > >>> Hi guys, > >>> > >>> I'm testing my ADC libs in high resolution mode. I need to print the > >>> result on serial, so I tried to use print.jal lib. > >>> > >>> var word measure > >>> measure = adc_read(0) > >>> print_word_dec(serial_hw_data,measure) > >>> > >>> It seems print_word_dec can't actually print the result (~512 or ~511, > >>> half of 10bits). I tried with print_word_binary(), and it works great. > >>> > >>> Any idea ? Have you ever had problems like that ? > >>> > >>> > >>> Cheers, > >>> Seb > >>> -- > >>> Sébastien Lelong > >>> http://www.sirloon.net > >>> http://sirbot.org > >>> > > > > > > > > -- > > Sébastien Lelong > > http://www.sirloon.net > > http://sirbot.org > > > > > > > > > > > -- Sébastien Lelong http://www.sirloon.net http://sirbot.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
