View release.yaml
This file contains 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
name: myrelease-LoRa Gateway Build-Release (Push with Tag) | |
# | |
# Git push event trigger | |
# | |
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions | |
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows | |
# every push | |
# on: [push] |
View Modbus TEST Result
This file contains 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
* TEST Program 결과 확인 (115200 Buadrate) | |
``` | |
> PC Setup (Master), Plese Check them below | |
> Modbus-RTU PC-Info(Master) (RS232<->RS485) | |
- Master Port : COM8 | |
- Master Baudrate : 115200 | |
- Master Timeout : 0.1s | |
- MaxUnit : 5 | |
- use Interval-Timer(ScanRate) : 1s | |
.... |
View gist:296262b5792d242f10197f001023626b
This file contains 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
# | |
# refer to | |
# https://pymodbus.readthedocs.io/en/latest/source/example/synchronous_client.html | |
# https://pymodbus.readthedocs.io/en/latest/source/example/synchronous_client_ext.html | |
# | |
# pip install pymodbus (not update this into requirement.txt) | |
# | |
# this program is only test for Modbus RTU | |
# this is working as a Modbus RTU Master and then everytime write/read holdregs in a Slave | |
# check the status of slave device |
View ASOP_SETTING
This file contains 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
// BoardConfig에 Selinux를 Permissive (허용모드) 로 변경 | |
// Selinux 제어 | |
$ vi device/vendor/hardware/BoardConfig.mk | |
BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive | |
// init.hardware.rc 부분수정 (권한설정부분 변경) | |
// chmod 변경 및 /sys filesystem 설정 | |
$ vi ./device/fsl/imx8q/mek_8q/init.imx8qxp.rc | |
on property:sys.boot_completed=1 | |
#jhlee for PWM1/2 |
View uuu_imx_android_flash.bat
This file contains 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
:: Do not output the command | |
@echo off | |
echo This script is validated with uuu 1.3.124 version, it is recommended to align with this version. | |
::--------------------------------------------------------------------------------- | |
::Variables | |
::--------------------------------------------------------------------------------- | |
:: For batch script, %0 is not script name in a so-called function, so save the script name here |
View cloudSettings
This file contains 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
{"lastUpload":"2020-04-01T01:56:38.672Z","extensionVersion":"v3.4.3"} |
View rename.sh
This file contains 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 | |
# | |
# rename jpg files in sequence with same pattern | |
# | |
# Author : Jeonghun Lee | |
# Version : 0.1 | |
# | |
# ./rename.sh | |
# or | |
# ./rename.sh 1stArg 2ndArg |
View create_pascal_tf_record.py
This file contains 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
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
View gist:8d55ef0b722c53cc0632a3ea0c180b47
This file contains 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 os | |
import argparse | |
import cv2 | |
import numpy as np | |
import random | |
import matplotlib.pyplot as plt | |
from matplotlib.backend_bases import NavigationToolbar2, Event | |
parser = argparse.ArgumentParser( | |
description='Run OpenCV ') |
View gist:1da9ed4d66b7fdc55267fb65d68fdf34
This file contains 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
int __io_putchar(int ch) | |
{ | |
HAL_UART_Transmit(&huart4, (uint8_t *)&ch, 1, 0xFFFF); | |
return ch; | |
} |
NewerOlder