From eb0e4482218257722435d4a03cfd02b602a30eae Mon Sep 17 00:00:00 2001 From: Alex Spataru Date: Thu, 7 Nov 2024 02:03:00 -0500 Subject: [PATCH] Update MPU6050.json --- examples/MPU6050/MPU6050.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/MPU6050/MPU6050.json b/examples/MPU6050/MPU6050.json index 11b6e657..88928960 100644 --- a/examples/MPU6050/MPU6050.json +++ b/examples/MPU6050/MPU6050.json @@ -3,9 +3,9 @@ ], "decoder": 0, "frameDetection": 1, - "frameEnd": "*/", + "frameEnd": ";", "frameParser": "/**\n * This function splits a data frame using the project-specified separator,\n * allowing you to customize frame parsing for different project requirements.\n *\n * Global variables can maintain a constant output array, enabling a single\n * Serial Studio project to display information consistently, even with varying\n * frame types.\n *\n * @param[in] frame The latest received frame as a string.\n * @param[in] separator The data separator defined in the JSON project.\n * @return Array of strings containing the parsed frame elements.\n *\n * @note Only data within the delimiters is processed.\n * @note Declare global variables outside @c parse() for state/configuration.\n *\n * @example\n * Given frame: \"value1,value2,value3\", separator: \",\"\n * Returns: [\"value1\", \"value2\", \"value3\"]\n */\nfunction parse(frame, separator) {\n return frame.split(separator);\n}\n", - "frameStart": "/*", + "frameStart": "$", "groups": [ { "datasets": [