• Skip to main content
  • Shop
  • Learn
  • Blog
  • Forums
  • IO
  • LIVE!
  • AdaBox
Adafruit Logo
0
  • Sign In | Create Account
  • Playground
  • Shop
  • Learn
  • Blog
  • Forums
  • IO
  • LIVE!
  • AdaBox
Sign In
0
Adafruit Logo
  • Learn Categories
    • 3D Printing
    • AdaBox
    • Adafruit Products
    • Arduino Compatibles
    • Breakout Boards
    • Circuit Playground
    • CircuitPython
    • CLUE
    • Community Support
    • Components
    • Crickit
    • Customer & Partner Projects
    • Development Boards
    • Educators
    • EL Wire/Tape/Panel
    • Feather
    • Gaming
    • Hacks
    • Internet of Things - IOT
    • LCDs & Displays
    • LEDs
    • Machine Learning
    • MakeCode
    • Maker Business
    • micro:bit
    • Microcontrollers
    • Programming
    • Raspberry Pi
    • Robotics & CNC
    • Sensors
    • STEMMA
    • Tools
    • Trellis
    • Wearables
    Explore, Groups to get your gears turning
    Explore
    Groups to get your gears turning
    Explore Groups
  • New Guides
  • Playground
adafruit2 Notes
Image for user adafruit2

adafruit2

u/adafruit2

Getting Started

Adafruit Playground is a wonderful and safe place to share your interests with Adafruit's vibrant community of makers and doers. Have a cool project you are working on? Have a bit of code that you think others will find useful? Want to show off your electronics workbench? You have come to the right place.

The goal of Adafruit Playground is to make it as simple as possible to share your work. On the Adafruit Playground users can create Notes. A note is a single-page space where you can document your topic using Adafruit's easy-to-use editor. Notes are like Guides on the Adafruit Learning System but guides are high-fidelity content curated and maintained by Adafuit. Notes are whatever you want them to be. Have fun and be kind.

Click here to learn more about Adafruit Playground and how to get started.

  • Image for user adafruit2
    By adafruit2

    Arduino Library Folder Cleanup

    I've got hundreds of Arduino libraries that we maintain in my 'libraries' folder, and it can very quickly get difficult to maintain them. There's 4 issues I spent an inordinate amount of time on!

    First issue is that whenever a library is updated, the IDE does not delete the previous version, but keeps both around...after a few years this ends in a lot of cruft. 

    Secondly, libraries downloaded via the IDE are placed into a folder in the format arduino_nnnnn where n is a number, so you don't really know what library is inside it, making the first issue hard to clean up

    Thirdly - for Adafruit libraries, they are git clone'd into the library folder which means I sometimes end up in a branch that I'm working on, and then submit a PR. Days later I've forgotten to change back into my main branch, losing out on any merged updates!

    Finally - there's constant updates to our libraries, and the IDE does alert me when this happens - which means I need to do a git pull - but in hundreds of libraries this takes a long time to go to each folder and run the git pull command.

    THUS a script! This python code does a number of clean up tasks, I only have to run it a few times a week and it will keep my arduino libraries folder nice n tidy. Thanks to ChatGPT4 Sept 25 for the assist, it made the scripting faster (note I did make some changes beyond what GPT4 wrote)

    DALL·E_2023-10-21_13.05.52_-_Illustration_in_a_soft_anime_style_showing_a_girl__inspired_by_Limor_Fried__sweeping_the_floor_of_a_library._She_has_pink_hair_and_is_dressed_in_a_tea.png
    Save
  • Image for user adafruit2
    By adafruit2

    Creating Translated Board Books with ChatGPT 4

    A popular gift to new parents is baby board books! Not only are they great for chewing on (good source of fiber), they are also a nice way to introduce early literacy. We also have a 'subscription box of the quarter' which comes with a variety of board books

    However, all these books are in English - and if you're trying to expose your lil one to another language it can be challenging to get books in the second language if it isn't a popular one in your country. In this case, we wanted to have some Hebrew language books (the weather-control-machine instruction manual is in Hebrew so it is important for our kiddo to read fluently). We were able to pick up some Hebrew books from the Israel Bookshop - and the library also has some options! But, library books must be returned unchewed and imported books are not inexpensive. We also had lots of gifted books, already... so let's convert them to be bilingual with help from ChatGPT4

    Why ChatGPT4?

    You don't need to use an LLM to help translate, but my Hebrew is rusty and especially details like getting spelling and nikkud correct is not my highest skill.

    Translation is what I like to call an "NP-complete" task - its hard and time-consuming to do right, but you can quickly determine if its done correctly. That makes it a great task to use LLM for: it's a lot faster than copying and pasting text over and over into Google Translate but once its done its quick to verify. It also doesn't innundate you with pop-ups and ads like Morfix .

    image.png
    Save
Search

Getting Started

Adafruit Playground is a wonderful and safe place to share your interests with Adafruit's vibrant community of makers and doers. Have a cool project you are working on? Have a bit of code that you think others will find useful? Want to show off your electronics workbench? You have come to the right place.

The goal of Adafruit Playground is to make it as simple as possible to share your work. On the Adafruit Playground users can create Notes. A note is a single-page space where you can document your topic using Adafruit's easy-to-use editor. Notes are like Guides on the Adafruit Learning System but guides are high-fidelity content curated and maintained by Adafuit. Notes are whatever you want them to be. Have fun and be kind.

Click here to learn more about Adafruit Playground and how to get started.

    • Contact Us
    • Tech Support Forums
    • FAQs
    • Shipping & Returns
    • Freebies
    • Terms of Service
    • Privacy & Legal
    • Website Accessibility
    • LLMs.txt
    • About Us
    • Press
    • Educators
    • Distributors
    • Jobs
    • Gift Cards
    "Here, you learn what it is to be human. You are a creator of order, of beautiful shapes and systems, an organizer of chaos"
    Dune
    Adafruit Logo
    A Minority and Woman-owned Business Enterprise (M/WBE)