pwm freq. 1khz (default) --> 40khz (max.)
This commit is contained in:
parent
a4cb108b03
commit
17ece89564
2 changed files with 8 additions and 1 deletions
|
|
@ -21,7 +21,7 @@
|
||||||
//============<identities>============
|
//============<identities>============
|
||||||
//
|
//
|
||||||
#define MY_GROUP_ID (3000)
|
#define MY_GROUP_ID (3000)
|
||||||
#define MY_ID (MY_GROUP_ID + 20)
|
#define MY_ID (MY_GROUP_ID + 53)
|
||||||
#define MY_SIGN ("CRICKET")
|
#define MY_SIGN ("CRICKET")
|
||||||
//
|
//
|
||||||
//============</identities>============
|
//============</identities>============
|
||||||
|
|
@ -242,6 +242,9 @@ void setup() {
|
||||||
//led
|
//led
|
||||||
pinMode(LED_PIN, OUTPUT);
|
pinMode(LED_PIN, OUTPUT);
|
||||||
|
|
||||||
|
//pwm freq.
|
||||||
|
analogWriteFreq(40000);
|
||||||
|
|
||||||
//serial
|
//serial
|
||||||
Serial.begin(115200);
|
Serial.begin(115200);
|
||||||
delay(100);
|
delay(100);
|
||||||
|
|
|
||||||
4
id.list
4
id.list
|
|
@ -28,5 +28,9 @@
|
||||||
- @sampler
|
- @sampler
|
||||||
== @sampler x N ~ 5001, 5002, 5003, ...
|
== @sampler x N ~ 5001, 5002, 5003, ...
|
||||||
|
|
||||||
|
- (new)
|
||||||
|
== cricket x 1 ~ 3087
|
||||||
|
== cricket x 1 ~ 3107
|
||||||
|
|
||||||
- unused
|
- unused
|
||||||
== gonggong x 1 ~ 4001
|
== gonggong x 1 ~ 4001
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue