void
原文
void型
関数の宣言では、voidキーワードが使用されます。 この関数は、呼び出された関数に情報を返さないことが期待されているか、呼び出し元から引数を受け取らないことを期待していることを示します。
記述例
code:sample
// actions are performed in the functions "setup" and "loop"
// but no information is reported to the larger program
void setup() {
// ...
}
void loop() {
// ...
}
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 リファレンス 日本語版 に戻る