Jump to content
43oh

Anik96

Members
  • Content Count

    12
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Anik96

  1. 9 hours ago, dubnet said:

    Sounds like noise.  How is the ADC input physically connected to ground? If it is a long jumper wire you may want to shorten it as much as possible. A long jumper wire will act as an antenna, picking up noise from the digital clocks on your board. Another thing you can try is placing a small capacitor right at the ADC pin to ground.

    May be it is noise but not external.... cuz if i use internal Pulldown resistor , I am getting the same result. But If I connect it to 3.3V ....I am getting almost constant 4095 value. I have also tried using hardware avg and dither enable. When using hardware avg it is taking avg over the noise and thus giving a value between 10 to 15. But I need 0 output when connected to GND. 

    1.png

    2.png

  2. I cant compile codes for tm4c123g anymore. My boards suddenly disappeared from board manager. Now when I want to open it, it shows the following error:

     

    Error downloading http://www.energia.nu/packages/package_index.json
    java.lang.RuntimeException: java.lang.Exception: Error downloading http://www.energia.nu/packages/package_index.json
        at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onUpdatePressed$0(ContributionManagerUI.java:151)
        at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.Exception: Error downloading http://www.energia.nu/packages/package_index.json
        at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:113)
        at cc.arduino.contributions.packages.ContributionInstaller.download(ContributionInstaller.java:330)
        at cc.arduino.contributions.packages.ContributionInstaller.downloadIndexAndSignature(ContributionInstaller.java:305)
        at cc.arduino.contributions.packages.ContributionInstaller.updateIndex(ContributionInstaller.java:283)
        at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onUpdatePressed$0(ContributionManagerUI.java:147)
        ... 1 more
    Caused by: java.io.IOException: Received invalid http status code from server: 416
        at cc.arduino.utils.network.FileDownloader.downloadFile(FileDownloader.java:194)
        at cc.arduino.utils.network.FileDownloader.download(FileDownloader.java:128)
        at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:111)
        ... 5 more
     

×
×
  • Create New...