I am very sorry Rob but I have made a type error, please read for
16F628 (which I have used for years)16F1827
My problem with JAL EDIT is solved.
I compiled your program and got the error messages OSCCON_SCS is not
defined.
I looked in the 16F1827 lib and found OSCCON_SCS0 and OSCCON_SCS!
Reading the 16F1827 datasheet I found both
I changed  as I wrote
Then I got the error message Jallib_adcs_lsb not defined
In adc_clock I found this could be an alias for as I wrote

Sorry again
regards
Hans




On 10 nov, 17:31, Rob Hamerling <[email protected]> wrote:
> Hi Hans,
>
> On 2010/11/10 16:39, hans wrote:
>
> > Received and tried.
> >   In the 16F1827 lib is no SCS defined so I changed (without knowledge!)
> > --OSCCON_SCS    = 0b00                        -- clock determined by
> > fuse setting
> > OSCCON_SCS0 = 0
> > OSCCON_SCS1 = 0
>
> > Now I see something similar in adc_clock
> > Jallib_adcs_lsb will be an alias from ADCON0_ADCS ( line 147) but as
> > far as I see there is no ADCON0_ADCS but ADCON1_ADCS<2:0>  on page 146
> > of the spec.
> >   and are also defined in the 16F1827 lib.
>
> You asked and got a sample for the 16f1827. The 16f628 is a different
> beast.
>
>  > These things are too complicated for me.
>
> Study and read the datasheets!
>
> In my opinion it is for a beginner not a good idea to try to understand
> the code of the libraries. Stay with the documentation (and maybe the
> comments in the libraries) until you have had success with a couple of
> relatively simple projects.
>
> > Maybe I use the wrong libs (latest pack)
>
> Libraries in Jallib are updated very frequently, but the the
> download-packs are never updated! When you want the very latest fixes
> you have to download the required files. You might consider using
> Subversion to keep an up-to-date copy of all Jallib material on your PC.
>
>   > On top of that my JALEdit program stops after compiling and i have to
>
> > restart over and over. Another problem to think over
>
> No idea, I don't use JalEdit.
>
> Regards,
>
> --
> R. Hamerling, Netherlands ---http://www.robh.nl

-- 
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