Menu

GCBASIC takes care of everything with osc?

Help
Jonny!!!
2010-03-29
2013-05-30
  • Jonny!!!

    Jonny!!! - 2010-03-29

    If i put:

    #chip 16F690, 8

    does GCBASIC set all the proper bits for the MCU to select the proper freq, etc, or is this just used for timing purposes?

    I'm sorry if this is a stupid question, but I can't find anything in the help or the forums regarding this :(

     
  • Frank

    Frank - 2010-03-30

    Assuming you are using the internal oscillator GCBasic will handle setting the bits - it generates a subroutine in the assembly called INITSYS that does that stuff as well as switching off all the analog inputs and the comparator.

     
  • Jonny!!!

    Jonny!!! - 2010-04-01

    Good to know. Thanks :)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.