unsigned char
原文
charデータ型の符号なしバージョン。 unsigned charは1バイトのメモリを占有します。 0〜255の整数を格納します。
unsigned intと同様に、unsigned charは負の数を格納しません。 それはまた、任意の整数データ型と同じオーバーフロー問題の影響を受ける。
利用例
code:samppe
unsigned char c = 240;
関連項目
char
byte
int
配列
SerialUSB.println()
Serial.println()
License and Attribution: Portions of this page were adapted from the Arduino Reference Documentation, which is released under a Creative Commons Attribution-ShareAlike 3.0 License.
このドキュメントはleafLabs, LLC.が執筆し、たま吉が翻訳・一部加筆修正したものです。
Arduino STM32 リファレンス 日本語版 に戻る