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 Pine Script® code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ | |
| //@version=6 | |
| indicator(title = '8 SMA (3,5,10,20,50,100,200,400)', shorttitle = '8MA', overlay = true) | |
| // === Simple Moving Average === | |
| // MA Inputs | |
| ma_type = input.string(title = 'MA Type', defval = 'sma', options = ['sma', 'ema']) | |
| Length1 = input.int(3, minval = 1, title = 'MA 1') | |
| Length2 = input.int(5, minval = 1, title = 'MA 2') |
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
| #!/bin/bash | |
| #MIT License | |
| #Copyright (c) 2021-23 Jetsonhacks | |
| JETSON_FOLDER=JetPack_5.1.1_Linux_JETSON_XAVIER_NX_TARGETS | |
| LINUX_FOR_TEGRA_DIRECTORY="$JETSON_FOLDER/Linux_for_Tegra" | |
| # Flash Jetson Xavier to run from external storage | |
| # Some helper functions. These scripts only flash Jetson Orins and Xaviers |
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
| sudo nano /etc/rc.local | |
| Bash: | |
| #!/bin/sh -e | |
| # rc.local | |
| #Maximize performances | |
| ( sleep 60 && /usr/bin/jetson_clocks )& | |
| exit 0 | |
| sudo chmod +x /etc/rc.local |
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
| #!/bin/bash | |
| # | |
| # Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. | |
| # | |
| # NVIDIA Corporation and its licensors retain all intellectual property | |
| # and proprietary rights in and to this software, related documentation | |
| # and any modifications thereto. Any use, reproduction, disclosure or | |
| # distribution of this software and related documentation without an express | |
| # license agreement from NVIDIA Corporation is strictly prohibited. | |
| # |
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
| void setup() { | |
| Serial.begin(115200); | |
| WiFi.begin(ssid, password); | |
| int reset = 0; | |
| while (WiFi.status() != WL_CONNECTED) { | |
| delay(1000); | |
| reset ++; | |
| Serial.print("Menyambungkan ke WiFi : "); | |
| Serial.println(ssid); | |
| if (reset == 5) { |
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
| https://dl.espressif.com/dl/package_esp32_index.json |
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
| char* ssid = "Nama_WiFI"; | |
| char* password = "Password_WiFi"; |
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 "WiFi.h" |