From ba11f52973bafd79f90229a0af10ebd401f1b02e Mon Sep 17 00:00:00 2001 From: nicholaskochan <75466142+airspaced-nk5@users.noreply.github.com> Date: Tue, 2 Jan 2024 22:46:06 -0500 Subject: [PATCH 1/2] comments on which are required CP bundle libraries, to aide first-time users The comments added follow the same format as the Neopixel getting started demo. --- MEMENTO/Basic_Camera/code.py | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/MEMENTO/Basic_Camera/code.py b/MEMENTO/Basic_Camera/code.py index cebda7149..c18bf5426 100644 --- a/MEMENTO/Basic_Camera/code.py +++ b/MEMENTO/Basic_Camera/code.py @@ -1,7 +1,23 @@ # SPDX-FileCopyrightText: Copyright (c) 2023 john park for Adafruit Industries # # SPDX-License-Identifier: MIT -''' simple point-and-shoot camera example. No bells! Zero whistles! ''' +""" +simple point-and-shoot camera example. No bells! Zero whistles! + +Requires libraries from the Adafruit CircuitPython Library Bundle. +Download the bundle from circuitpython.org/libraries and copy the +following files/folders to your CIRCUITPY/lib folder: +* adafruit_display_text +* adafruit_register +* adafruit_aw9523.mpy +* adafruit_debouncer.mpy +* adafruit_lis3dh.mpy +* adafruit_ticks.mpy +* neopixel.mpy + +Once the libraries are copied, save this file as code.py to your CIRCUITPY +drive to run it. +""" import time import adafruit_pycamera # pylint: disable=import-error From 559c6df92fbd3dd81af5424f666bb99eeee31cc5 Mon Sep 17 00:00:00 2001 From: nicholaskochan <75466142+airspaced-nk5@users.noreply.github.com> Date: Thu, 4 Jan 2024 20:20:26 -0500 Subject: [PATCH 2/2] Update MEMENTO/Basic_Camera/code.py remove trailing space as suggested Co-authored-by: Dan Halbert --- MEMENTO/Basic_Camera/code.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MEMENTO/Basic_Camera/code.py b/MEMENTO/Basic_Camera/code.py index c18bf5426..80a94327d 100644 --- a/MEMENTO/Basic_Camera/code.py +++ b/MEMENTO/Basic_Camera/code.py @@ -1,7 +1,7 @@ # SPDX-FileCopyrightText: Copyright (c) 2023 john park for Adafruit Industries # # SPDX-License-Identifier: MIT -""" +""" simple point-and-shoot camera example. No bells! Zero whistles! Requires libraries from the Adafruit CircuitPython Library Bundle.