Apr 26, 2019

Apr 24, 2019

3. Website to highlight code for blog. (블로그를 위한 코드 문법 강조해 주는 사이트)

https://tohtml.com/

2. Several HTML grammars (HTML 몇가지 문법)

- Begin a new line (줄바꿈)
  : <br />

-  Space bar (띄어쓰기)
  : &nbsp

- Annotation (주석처리)
  : <!--  xxxxxx   -->

- Left/Center/Right alignment (왼쪽, 가운데, 오른쪽 정렬)
  : <div style="text-align:left or center or right">
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    </div>

- Block drag (드래그 방지) 
  아래 소스를 테마->HTML편집란에 추가하기
  : html, body, div, span, object,  
 form, input, h1, h2, button, label, a, img {  
  -moz-user-select: none;  
  -ms-user-select: none;  
  -webkit-user-select: none;  
  /* this will work for QtWebKit in future */  
  -webkit-user-drag: none;  
 }

535. The price is higher. (가격이 더 올랐어요.)

or
The price went up.

Apr 19, 2019

Arduino PWM signals - analogWrite() (아두이노 PWM 신호)

[Readme]
Arduino (ATmega168 or ATmega328P)

- analogWrite() function works on pins 3, 5, 6, 9, 10, and 11.

- On the Uno, pro-mini and etc, pins 5 and 6 have a 980 Hz as PWM frequency and the others is 490 Hz.

- If you use the <Servo.h> library, you cannot use analogWrite() function on pins 9 and 10. In other words, you cannot drive some servo motors on pins 9 and 10 using analogWrite() function.

---------------------------------------------------------------------------------------
analogWrite() 함수는 핀 3, 5, 6, 9, 10, and 11 에서 동작한다.

- 우도, 프로미니, 기타등등 보드에서 핀 5와 6은 980 Hz로 PWM 시그널을 발생하며 다른 핀에서는 490 Hz로 시그널을 발생한다.

- <Servo.h> 라이브러리를 사용하게 되면 핀 9와 10에서 analogWrite() 함수를 사용할 수 없다. 즉 핀 9번과 10에서 analogWrite() 함수를 이용해 서보모터를 구동시킬 수 없다.

532. I'm so full. (배가 너무 불러요.)

or
- I'm full as a tick (남부식 영어)

Apr 17, 2019

Bluetooth HC-06 ATcommand setting - Arduino code (블루투스 HC-06)

- Arduino code for HC-06 bluetooth setting and some AT commands examples in the serial monitor.
(HC-06 블루투스 모듈 세팅을 위한 아두이노 코드와 AT 명령어 사용 예시)

/////////////////////////////////////////////////////////
//main code//
/////////////////////////////////////////////////////////

#include <SoftwareSerial.h>

//4800, 9600, 19200, 38400, 57600, 115200, ...
#define baud_rate 9600

int blueTx = 2;
int blueRx = 4;

SoftwareSerial mySerial(blueTx, blueRx);

void setup() {
  // put your setup code here, to run once:
  Serial.begin(baud_rate);
  mySerial.begin(baud_rate);

  Serial.print("Bluetooth ready");
}

void loop() {
  // put your main code here, to run repeatedly:
  if(mySerial.available()){
    Serial.write(mySerial.read());
  }
  if(Serial.available()){
    mySerial.write(Serial.read()); 
  }
}

530. Can I have a soda? (탄산 음료 주시겠어요?)

or
- Can I have a coke? (남부식) / a pop? (중부식)

Apr 5, 2019

Let's start Google Blogger. (구글 블로거 시작!)

Let's start Google Blogger.
================================================
구글 블로거 시작!