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>============
|
||||
//
|
||||
#define MY_GROUP_ID (3000)
|
||||
#define MY_ID (MY_GROUP_ID + 20)
|
||||
#define MY_ID (MY_GROUP_ID + 53)
|
||||
#define MY_SIGN ("CRICKET")
|
||||
//
|
||||
//============</identities>============
|
||||
|
|
@ -242,6 +242,9 @@ void setup() {
|
|||
//led
|
||||
pinMode(LED_PIN, OUTPUT);
|
||||
|
||||
//pwm freq.
|
||||
analogWriteFreq(40000);
|
||||
|
||||
//serial
|
||||
Serial.begin(115200);
|
||||
delay(100);
|
||||
|
|
|
|||
4
id.list
4
id.list
|
|
@ -28,5 +28,9 @@
|
|||
- @sampler
|
||||
== @sampler x N ~ 5001, 5002, 5003, ...
|
||||
|
||||
- (new)
|
||||
== cricket x 1 ~ 3087
|
||||
== cricket x 1 ~ 3107
|
||||
|
||||
- unused
|
||||
== gonggong x 1 ~ 4001
|
||||
|
|
|
|||
Loading…
Reference in a new issue