Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Couldn't install Adafruit 1NA219 Library using Explorer (Read 1165 times)
FrankP
Full Member
***
Offline


Posts: 240
Joined: Oct 19th, 2011
Couldn't install Adafruit 1NA219 Library using Explorer
May 25th, 2019 at 2:14pm
Print Post  
VM version 1.1903.24

I was trying to install the Adafruit 1NA219 library via the VM Explorer dialog, but ran into the following problems:

- Searches for '1N', '1NA', '1NA219', and 'Adafruit 1N', etc all failed, even though the 'Adafruit 1NA219' library is clearly visible in the list.  Any reason for this (it also failed in the Arduino IDE, so it could be an IDE problem)

- I couldn't get the library to install by any combination of left and/or right clicks on the library label, once I found it.  To actually install the library, I had to launch the Arduino IDE and select 'Install' on the 'Adafruit 1NA219' line, and this worked properly.

Am I missing something?

TIA,


Frank 
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Couldn't install Adafruit 1NA219 Library using Explorer
Reply #1 - May 25th, 2019 at 5:05pm
Print Post  
We will look at it.The Adafruit guys build with linux and the resulting zip file can be very complex. We use SharpZipLib for extracts,We will see if there is an update for the next release.

Installing a library is just a matter of unpacking the zip into document\arduino\libraries so you can always do it manually from git or as you say in arduino ide.

I can't see the  1NA219 in library manager. Did you install using library manager or from a zip you downloaded from the web. If a zip then please give url.

Thanks for the report.
« Last Edit: May 25th, 2019 at 5:07pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
FrankP
Full Member
***
Offline


Posts: 240
Joined: Oct 19th, 2011
Re: Couldn't install Adafruit 1NA219 Library using Explorer
Reply #2 - May 25th, 2019 at 10:19pm
Print Post  
Tim,

It's there (see attached image) - 'INA219 by Adafruit'.  Note that the '1' in the actual product has been changed to an 'I', so that's probably the reason the search function didn't work.

  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Couldn't install Adafruit 1NA219 Library using Explorer
Reply #3 - May 26th, 2019 at 12:44pm
Print Post  
Thanks, it installed okay for me. Maybe you just needed to click Re-scan after installing via Lib Manager
  
Back to top
WWW  
IP Logged
 
FrankP
Full Member
***
Offline


Posts: 240
Joined: Oct 19th, 2011
Re: Couldn't install Adafruit 1NA219 Library using Explorer
Reply #4 - May 26th, 2019 at 10:21pm
Print Post  
Tim,

I'm pretty sure I clicked on 'Rescan' after attempting to install, but maybe not Wink

Frank
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint