[arduino] add F_CPU to indicate the frequency of CPU

This commit is contained in:
Meco Man 2022-05-22 02:54:03 -04:00 committed by guo
parent 36f142fbc3
commit b0364da7e3
3 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,7 @@
#define A6 (23)
#define A7 (24)
#define F_CPU 48000000L /* CPU: 48MHz */
#define LED_BUILTIN D13 /* Default Built-in LED */
#define RTDUINO_DEFAULT_IIC_BUS_NAME "i2c1"

View File

@ -38,6 +38,7 @@
#define A6 (23)
#define A7 (24)
#define F_CPU 84000000L /* CPU: 84MHz */
#define LED_BUILTIN D13 /* Default Built-in LED */
#define RTDUINO_DEFAULT_IIC_BUS_NAME "i2c1"

View File

@ -44,6 +44,7 @@
#define A3 (29)
#define DAC0 (30)
#define F_CPU 80000000L /* CPU: 80MHz */
#define LED_BUILTIN D22 /* Default Built-in LED */
/*