0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

M5Stack Core2: Hello World

Last updated at Posted at 2024-08-28

プログラム

hello_world.ino
// ---------------------------------------------------------------------
/*
	hello_world.ino for M5StackCore2

						Aug/28/2024
*/
// ---------------------------------------------------------------------
#define	PROGRAM	"hellow_world.ino"
#define	VERSION	"2024-8-28 AM 09:43"

int count = 0;
void setup()
{
	Serial.begin(115200);
	delay(3000);
	Serial.println("*** start ***");
	Serial.println(PROGRAM);
	Serial.println(VERSION);
	delay(1000);
	Serial.println("*** setup end ***");
	delay(1000);
}

// ---------------------------------------------------------------------
void loop() 
{
	Serial.println(PROGRAM);
	Serial.println(VERSION);
	Serial.println("Hello World! " + String(count));
	delay(1000);
	Serial.println("Good Morning! " + String(count));
	delay(1000);
	Serial.println("こんにちは " + String(count));
	Serial.println();
	delay(3000);
	count++;
}

// ---------------------------------------------------------------------

Arduino IDE

image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?