Menu

AD problems with 12F675

Help
2009-07-07
2013-05-30
  • Nobody/Anonymous

    Can somebody please tell me what is wrong here.
    I get "error [113] symbol not previously defined (CHS2)"

    #chip 12F675, 4
    #config OSC=INTOSC, MCLRE=OFF, WDT=OFF
    'Set the pin directions
    delay_ms
    dim X as byte
    DIR GPIO.0 IN
    X = readAD(AN0)
    WAIT 100 ms

     
    • kent_twt4

      kent_twt4 - 2009-07-08

      To my knowledge that was fixed a long time back.  Although it is not explicity stated, after downloading the GCBasic 9.30 file, the udate zip ( http://gcbasic.sourceforge.net/update.html ), needs to installed on top of that,

      The Download web page should be changed to make the update zip requirement more clear.  Really, with all the changes made recently, a 9.4 version should come into being not too far down the road.

       
    • Nobody/Anonymous

      Ok so I've downloaded the update.zip file. How exactly do I "install on top of" GCBasic 9.30?

       
    • JDat Deface

      JDat Deface - 2009-07-08

      extract update.zip in to new folder.
      Copyy al files form New folder on top for installed files in GCBASIC folder.

       
    • Nobody/Anonymous

      Yes It's working OK now. 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.