This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| THis is a script to light a WS2812b LED strip on a flight of stairs using a | |
| raspberry pi!! | |
| There are 3 sensors utilized: | |
| 1. A light sensor at the top of the stairs to determine if it is light or dark (no need to light stairs in daytime). | |
| 2. A motion sensor at the top of the stairs (to detect someone going down) | |
| 3. A motion sensor at the bottom of the stairs (to detect someone going up) | |
| """ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ╭─tennis@tennismbp2021 ~/src/walter-positioning | |
| ╰─➤ idf build flash monitor | |
| Executing action: all (aliases: build) | |
| Running ninja in directory /Users/tennis/src/walter-positioning/build | |
| Executing "ninja all"... | |
| [1/4] cd /Users/tennis/src/walter-positioning/build/esp-idf/esptool_py && /Users/tennis/.espressif/python_env/idf5.3...ter-positioning/build/partition_table/partition-table.bin /Users/tennis/src/walter-positioning/build/positioning.bin | |
| positioning.bin binary size 0x57b60 bytes. Smallest app partition is 0x100000 bytes. 0xa84a0 bytes (66%) free. | |
| [1/1] cd /Users/tennis/src/walter-positioning/build/bootloader/esp-idf/esptool_py && /Users/tennis/.espressif/python...e/check_sizes.py --offset 0x8000 bootloader 0x0 /Users/tennis/src/walter-positioning/build/bootloader/bootloader.bin | |
| Bootloader binary size 0x5970 bytes. 0x2690 bytes (30%) free. | |
| [4/4] Completed 'bootloader'Executing action: flash |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "cellular_modem.h" | |
| #include "driver/gpio.h" | |
| #include "esp_event.h" | |
| #include "esp_log.h" | |
| #include "esp_modem_api.h" | |
| #include "esp_modem_c_api_types.h" | |
| #include "esp_modem_dce_config.h" | |
| #include "esp_netif.h" | |
| #include "freertos/FreeRTOS.h" | |
| #include "freertos/task.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "math.h" | |
| #include "stdio.h" | |
| #include <stdio.h> | |
| #include "audio_codec_test.h" | |
| #include "driver/gpio.h" | |
| #include "driver/i2s_std.h" | |
| #include "esp_audio_dec_default.h" | |
| #include "esp_audio_dec_reg.h" | |
| #include "esp_audio_simple_dec.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /Users/tennis/src/tflite-micro-fork/.venv/bin/python /Users/tennis/src/tflite-micro-fork/tensorflow/lite/micro/examples/micro_speech/train/meow_train.py | |
| Training these words: meow | |
| Training steps in each stage: 12000,3000 | |
| Learning rate in each stage: 0.001,0.0001 | |
| Total number of training steps: 15000 | |
| Training the model (this will take quite a while)... | |
| 2024-03-22 20:14:59.914956: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:388] MLIR V1 optimization pass is not enabled | |
| WARNING:tensorflow:From /Users/tennis/src/tflite-micro-fork/.venv/lib/python3.11/site-packages/tensorflow/python/training/saver.py:1068: remove_checkpoint (from tensorflow.python.checkpoint.checkpoint_management) is deprecated and will be removed in a future version. | |
| Instructions for updating: | |
| Use standard file APIs to delete files with this prefix. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /Users/tennis/src/tflite-micro-fork/.venv/bin/python /Users/tennis/src/tflite-micro-fork/tensorflow/lite/micro/examples/micro_speech/train/meow_train.py | |
| Training these words: meow | |
| Training steps in each stage: 12000,3000 | |
| Learning rate in each stage: 0.001,0.0001 | |
| Total number of training steps: 15000 | |
| Training the model (this will take quite a while)... | |
| 2024-03-21 17:57:04.506404: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:388] MLIR V1 optimization pass is not enabled | |
| WARNING:tensorflow:From /Users/tennis/src/tflite-micro-fork/.venv/lib/python3.11/site-packages/tensorflow/python/training/saver.py:1068: remove_checkpoint (from tensorflow.python.checkpoint.checkpoint_management) is deprecated and will be removed in a future version. | |
| Instructions for updating: | |
| Use standard file APIs to delete files with this prefix. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /Users/tennis/src/tflite-micro-fork/.venv/bin/python /Users/tennis/src/tflite-micro-fork/tensorflow/lite/micro/examples/micro_speech/train/meow_train.py | |
| Training these words: meow | |
| Training steps in each stage: 12000,3000 | |
| Learning rate in each stage: 0.001,0.0001 | |
| Total number of training steps: 15000 | |
| Training the model (this will take quite a while)... | |
| 2024-03-21 16:27:14.770321: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:388] MLIR V1 optimization pass is not enabled | |
| WARNING:tensorflow:From /Users/tennis/src/tflite-micro-fork/.venv/lib/python3.11/site-packages/tensorflow/python/training/saver.py:1068: remove_checkpoint (from tensorflow.python.checkpoint.checkpoint_management) is deprecated and will be removed in a future version. | |
| Instructions for updating: | |
| Use standard file APIs to delete files with this prefix. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*************************************************************************** | |
| * The contents of this file were generated with Amplify Studio. * | |
| * Please refrain from making any modifications to this file. * | |
| * Any changes to this file will be overwritten when running amplify pull. * | |
| **************************************************************************/ | |
| /* eslint-disable */ | |
| import * as React from "react"; | |
| import {Button, Flex, Grid, Heading, TextAreaField, TextField, useTheme,} from "@aws-amplify/ui-react"; | |
| import {getOverrideProps} from "@aws-amplify/ui-react/internal"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import {ProblemReport} from "@/src/ui-components"; | |
| import {API} from "aws-amplify"; | |
| import {useRouter} from "next/router"; | |
| import {useTheme} from "@aws-amplify/ui-react"; | |
| export default function ReportProblem() { | |
| const router = useRouter(); | |
| const {tokens} = useTheme(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| # tasks file for apigee-opdk-settings-cassandra/ | |
| - name: Fail if ds group is not provided | |
| fail: | |
| msg: 'ds group is not defined in the inventory file, please define the ds group in the inventory file' | |
| when: groups['ds'] is not defined | |
| - name: Fail if dc_1 group is not provided | |
| fail: | |
| msg: 'dc_1 group is not defined in the inventory file, please define the dc_1 group in the inventory file' |
NewerOlder