Hi Hans,

On 2010/11/10 16:39, hans wrote:

Received and tried.
  In the 16F628 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 16F628 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