Warning: If you have a Mac OS X v10.12+ (i.e. High Sierra, Mojave), your computer may restart as soon as you insert the CH340 to your computer. We recommend that you uninstall the old drivers first and follow these directions below before connecting the CH340 to your COM port. To do this all you have to do is go to in the top menu of the Arduino IDE and choose: Sketch – Include Library – Add.zip Library. Then navigate to the.zip library you just downloaded are select it. The Arduino IDE will then do the rest of the installation, and you will get a.
How To Add Library In Arduino
Follow these steps to install a library in Mac OSX.Close the Arduino IDE
First make sure that all instances of the Arduino IDE are closed. The IDE only scans for libraries at startup. It will not see your new library as long as any instance of the IDE is open!How To Uninstall Arduino Ide
Download the Zip FileMake sure to select a released version of the library. Some library repositories are still in development, and may contain unreleased or untested code. The 'Releases' button takes you to the tested and released versions.
|
Find it in the Downloads FolderOSX will automatically open the zip file there. |
Drag it to your Libraries FolderOpen your sketchbook Libraries folder and drag the master folder from Downloads into it. |
Give it a Legal NameThe IDE will not recognize folders with dashes in the name. So you must rename the Github Master Folder. Underscores are OK! |
Re-start the IDERestart the Arduino IDE and verify that the library appears in the File->Examples menu.Load one of the library examples to test. |
Verify that it CompilesClick the check-mark icon in the upper left and verify that the example sketch compiles without errors. |