전체 글
-
[ 라즈베리 파이 4를 블르투스 비콘으로 바꾸기 ]Hardware/Raspberry 2020. 5. 26. 09:02
http://www.answerbook.co.kr/ > 책 소스 파일 받기 > iot 사물인터넷을 위한 라즈베리파이 4 정석책 소스_정오표 포함 https://blog.naver.com/codingspecialist 저자 블로그 세상에 모든 사물에 인터넷이 연결된다. : 네이버 블로그 라즈베리파이 책 집필완료 blog.naver.com [ 에디스톤 URL 변환 사이트 ] http://yencarnacion.github.io/eddystone-url-calculator/ Eddystone command setup yencarnacion.github.io [ cmd ] $ sudo hciconfig hci0 up // 블루투스 켜는 명령어 $ sudo hciconfig hci0 leadv 3 // 블루투스 ..
-
[ 라즈베리 파이와 Mysql 연동하기 ]Hardware/Raspberry 2020. 5. 26. 08:47
[ Raspberry Pi -CMD ] sudo apt update sudo apt upgrade sudo apt install apache2 // mariaDB 설치시 필요 sudo apt-cache search mariadb // mariadb 확인 sudo apt install mariadb-server // mariadb-client는 자동으로 설치됨 [ Raspberry Pi- MariaDB ] sudo mysql -u root -p MariaDB [(none)]> use mysql Database changed // 안하면 sudo 없이 접근 안됨 MariaDB [mysql]> update user set password = password('pwd') where user='root'; // ..
-
[ Flask를 이용한 라즈베리파이 제어 ]Flask 2020. 5. 26. 08:34
[ Flask ] http://www.answerbook.co.kr/ > 책 소스 파일 받기 > iot 사물인터넷을 위한 라즈베리파이 4 정석책 소스_정오표 포함 [ Raspberry 에 VS Code 설치 ] https://blog.naver.com/codingspecialist/221440890926 라즈베리파이 VSCODE 설치하기 드디어 설치가 되군.....https://code.headmelted.com/설치방법은 터미널 열고 아래 명령어 실행!! blog.naver.com $ sudo apt update $ sudo apt upgrade // 비번 생성 $ sudo passwd root $ root // root계정 접속 $ su root $ root $ wget https://package..
-
[ React Native - Expo apk ]React-Native/Nomad-Weather 2020. 5. 25. 13:25
[React Native에서 Expo를 이용하여 apk 만들기] $ expo start $ expo build:android ● Expo 개정이 없으면 'Make a new Expo account' ● Expo 개정이 없으면 'Log in with an existing Expo account' - enter [ Visual Studio Code #app.json-수정전 ] { "expo": { "name": "Weather", "slug": "weathera", "platforms": [ "ios", "android", "web" ], "version": "1.0.0", "orientation": "portrait", "icon": "./assets/icon.png", "splash": { "image"..
-
Nomad_Weather(11) #Weather App#9React-Native/Nomad-Weather 2020. 5. 25. 13:15
[ Titles and Subtitles ] [ Visual Studio Code #Weather.js ] import React from 'react'; import PropTypes from "prop-types"; import { View, Text, StyleSheet, StatusBar } from "react-native"; import { MaterialCommunityIcons } from '@expo/vector-icons'; import { LinearGradient } from 'expo-linear-gradient'; const weatherOptions = { Thunderstorm: { iconName: "weather-lightning", gradient: ["#373B44",..
-
Nomad_Weather(10)_Weather App#8React-Native/Nomad-Weather 2020. 5. 25. 13:07
[ LinearGradient ] https://docs.expo.io/versions/latest/sdk/linear-gradient/ LinearGradient - Expo Documentation expo-linear-gradient provides a React component that renders a gradient view. Platform Compatibility Android DeviceAndroid EmulatoriOS DeviceiOS SimulatorWeb✅✅✅✅✅ import React from 'react'; import { Text, View } from 'react-native'; import { Line docs.expo.io $ Weather>expo install ex..
-
Nomad_Weather(9)_Weather App#7React-Native/Nomad-Weather 2020. 5. 25. 13:03
[ Expo Icon 사용하기 ] [ Expo Icon ] https://docs.expo.io/guides/icons/?redirected Icons - Expo Documentation As trendy as it is these days, not every app has to use emoji for all icons 😳 -- maybe you want to pull in a popular set through an icon font like FontAwesome, Glyphicons or Ionicons, or you just use some PNGs that you carefully picked out on The Noun P docs.expo.io [Expo Icons Directory] ht..
-
Nomad_Weather(8)_Weather App#6React-Native/Nomad-Weather 2020. 5. 25. 13:01
[ Weather Condition list ] https://openweathermap.org/weather-conditions Weather Conditions - OpenWeatherMap Weather Conditions Home Weather Conditions openweathermap.org [ Visual Studio Code #App.js ] import React from 'react'; import Loading from "./Loading"; import { Alert } from "react-native"; import * as Location from 'expo-location'; import axios from "axios"; import Weather from './Weath..