macos-link-and-upload-code
2024-01-15
arduino
hardwares
Board type: Arduino UnoIDE: Arduino IDE 2.2.1MacOS 13.4Download Arduino IDE for mac (for free on official website)Install ch34x driver. (To put simply, Ch340 is basically a USB bus convert chip. It allows the USB to be converted to serial interface, serial signals to USB etc. You can even think of Ch340 as a trader of some sort!)Link your mac and your arduino with a usb cable. (maybe a hub is needed). The board shows two red lights. One could be flashing before uploading code.In arduino IDE there is a default piece of code. In your menu bar, choose Tools -> Board -> Arduino AVR Boards -> Arduino Uno. And Tools -> Port -> /dev/cu.usbserial-140.Press the right arrow button in arduino IDE, this compiles and uploads the code.VSCodeYou can use VSCode Arduino extension instead of Arduino IDE. Everything is easy