Search found 7 matches
- 02 Oct 2016, 20:55
- Forum: ESP Easy: General Discussion
- Topic: Speaker function ?
- Replies: 35
- Views: 32574
Re: Speaker function ?
Great ! it works ! this is the ":" I forgot! http://192.168.0.3/control?cmd=rtttl,14:d=8,o=5,b=180,c6,b,c6,p,g,g-,p,f,b,c6,p,d6,p,g,p,c6,b,c6,p,d6,p,f,g,g-,4p,g,f,4d- beautiful melody Correct syntax is : rtttl, pin,name_of_melody:duration,octave,beat,notes.......... Somewhere use ":&...
- 02 Oct 2016, 17:10
- Forum: ESP Easy: General Discussion
- Topic: Speaker function ?
- Replies: 35
- Views: 32574
Re: Speaker function ?
rol-rider,
you have to replace "#" with "-" or urlencode string.
you have to replace "#" with "-" or urlencode string.
- 02 Oct 2016, 15:35
- Forum: ESP Easy: General Discussion
- Topic: Speaker function ?
- Replies: 35
- Views: 32574
Re: Speaker function ?
Great idea, I wanted to test, _P001_Switch.rar it does not compile. 296 log = String(F("SW : GPIO ")) + String(event->Par1) + String(F(" Set PWM to ")) + String(webreq); exit status 1 'webreq' was not declared in this scope thank. sorry I do not speak English! Oh, sorry! I sent ...
- 02 Oct 2016, 08:48
- Forum: ESP Easy: General Discussion
- Topic: Speaker function ?
- Replies: 35
- Views: 32574
Re: Speaker function ?
tozett wrote:wonderful addition.
hi dev,
are you listening here?
can it go into the main development branch?
(or someone good in coding make a plugin? moelski? )
Yes, it can. No problem.
- 01 Oct 2016, 10:22
- Forum: ESP Easy: General Discussion
- Topic: Speaker function ?
- Replies: 35
- Views: 32574
Re: Speaker function ?
I needed a wireless doorbell. The first version was with the UM66, but it meant only one meody ...
- 01 Oct 2016, 10:15
- Forum: ESP Easy: General Discussion
- Topic: Speaker function ?
- Replies: 35
- Views: 32574
Re: Speaker function ?
Here it is. There are two new function: void play_rtttl(uint8_t _pin, char *p ) void tone(uint8_t _pin, unsigned int frequency, unsigned long duration) and two if statements: if (command == F("rtttl")) { success = true; if (event->Par1 >= 0 && event->Par1 <= 16) { pinMode(event->Pa...
- 30 Sep 2016, 23:22
- Forum: ESP Easy: General Discussion
- Topic: Speaker function ?
- Replies: 35
- Views: 32574
Re: Speaker function ?
I add some code to _P001_Switch, now I can play tone with any frequency: http://192.168.3.57/control?cmd=tone,14,330,2000 - on port 14 play E1 two seconds. and Or play RTTTL melody: http://192.168.3.57/control?cmd=rtttl,14,Bach - Prelude In C Minor:d=8,o=5,b=180, c6, b, c6, p, g, g-, p, f, b, c6, p,...