Chart.js - Spring 연동출처 : Chart.js - Spring 연동JSONChartJS 클래스 package com.intel4.json; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.intel4.service.QuestionListService; import com.intel4.util.BeanUtils; import net.sf.json.JSONArray; import net.sf.json.JSONObject; public class JSONChartJS extends JSONData { @Override public JSONObject getJS..
NanoPi M1 Plus - DHT11 온도 습도 측정 출처 : DHT11 Humidity & Temperature Sensor Module | UUGear C 언어 /* * dht11.c: * Simple test program to test the wiringPi functions * DHT11 test */ #include #include #include #include #define MAXTIMINGS 85 #define DHTPIN 7 int dht11_dat[5] = { 0, 0, 0, 0, 0 }; void read_dht11_dat() { uint8_t laststate = HIGH; uint8_t counter = 0; uint8_t j = 0, i; float f; /* fahrenh..
기본 Form 데이터 전달 기본 Form 데이터 전달 JSP - /sample/form1.jsp 기본 Form 데이터 전달 Controller @Controller public class FormController { @RequestMapping(value = "/form/form1.do", method = RequestMethod.GET) public String form1( @RequestParam("user_id") String user_id, @RequestParam("password") String password, ModelMap modelMap) throws Exception { System.out.println("user_id = " + user_id + "/" + password); re..
Orange PI Zero - pi4j로 PWM 제어 Orange PI Zero는 하나의 PWM만 지원 배선 Java 소스 import com.pi4j.io.gpio.GpioFactory; import com.pi4j.io.gpio.OrangePiZeroGpioProvider; import com.pi4j.wiringpi.Gpio; import com.pi4j.wiringpi.SoftPwm; public class SG90PWMMain { private static int PIN_NUMBER = 7; public static void main(String[] args) throws Exception { // //GpioFactory.setDefaultProvider(new RaspiGpioProvider..
Orange PI Zero GPIO 설치 출처 : WiringOP for Orange pi zero - Beginners - OrangePi - Powered by 현재 pi4j는 Orange PI PC2 지원하지 않아 수정한 jar를 배포합니다. $ sudo apt-get install build-essential $ git clone https://github.com/zhaolei/WiringOP.git -b h3 $ cd WiringOP $ chmod +x ./build $ sudo ./build $ gpio -v gpio version: 2.20 Copyright (c) 2012-2014 Gordon Henderson This is free software with ABSOLUTELY NO WAR..
Orange PI Zero 출처 : 스터디메이크 :: 오렌지파이 제로 보드 간단 사용기 Xunlong Orange Pi Zero OS 설치 OS 다운로드 - Orange Pi Zero – armbian vi 설치 $ sudo apt-get install vim Orange PI Zero 와이파이 설정 출처 : 오렌지파이 제로 무선인터넷 설정 1.2 암비안 와이파이 설정 $ sudo nmtui SD 확장 SD 확장전 용량확인 $ df -h Filesystem Size Used Avail Use% Mounted on /dev/root 1.6G 1.2G 349M 78% / devtmpfs 168M 0 168M 0% /dev tmpfs 224M 0 224M 0% /dev/shm tmpfs 224M 8.5M 21..
출처 NanoPi M1 PlusHow to Install the Lightweight LXDE Desktop on Ubuntux윈도우 설치 $ sudo apt-get install lubuntu-desktop $ sudo shutdown -r now eMMC에 OS 복사하기 출처 : How to burn Linux image to eMMC bpi-copy command eMMC 용량 확인 $ sudo fdisk -l Disk /dev/mmcblk0: 14.9 GiB, 15931539456 bytes, 31116288 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O si..
NanoPi NEO Air - pi4j로 PWM 제어 NanoPi NEO Air는 하나의 PWM만 지원 배선 Java 소스 import com.pi4j.io.gpio.GpioFactory; import com.pi4j.io.gpio.NanoPiNEOAirGpioProvider; import com.pi4j.wiringpi.Gpio; import com.pi4j.wiringpi.SoftPwm; public class SG90PWMMain { private static int PIN_NUMBER = 1; public static void main(String[] args) throws Exception { // //GpioFactory.setDefaultProvider(new RaspiGpioProvider..
- Total
- Today
- Yesterday
- MySQL
- 동경
- Java
- 송주경
- android
- KOBA
- 일본여행
- NDK
- flex
- Linux
- Mac
- Delphi
- SAS
- 지스타2007
- ble
- 서울오토살롱
- 레이싱모델 익스트림 포토 페스티벌
- Xcode
- 튜닝쇼 2008
- BPI-M4
- Delphi Tip
- ffmpeg
- JavaScript
- oracle
- koba2010
- 전예희
- Spring
- sas2009
- ubuntu
- Spring MVC
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |