arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.16k stars 4.8k forks source link

Problem compiling #1204

Closed andur82 closed 6 years ago

andur82 commented 6 years ago

This is what receive when compiling... Cannot undertand how to solve...

1. Desktop\Sonoff-Tasmota-development\sonoff\sonoff.ino: In function 'void setup()':
2. 
3. sonoff:2672: error: 'class HardwareSerial' has no member named 'baudRate'
4. 
5.    if (Serial.baudRate() != baudrate) {
6. 
7.               ^
8. 
9. Desktop\Sonoff-Tasmota-development\sonoff\xdrv_irremote.ino: At global scope:
10. 
11. xdrv_irremote:50: error: 'IRsend' does not name a type
12. 
13.  IRsend *irsend = NULL;
14. 
15.  ^
16. 
17. Desktop\Sonoff-Tasmota-development\sonoff\xdrv_irremote.ino: In function 'void IrSendInit()':
18. 
19. xdrv_irremote:54: error: 'irsend' was not declared in this scope
20. 
21.    irsend = new IRsend(pin[GPIO_IRSEND]); // an IR led is at GPIO_IRSEND
22. 
23.    ^
24. 
25. xdrv_irremote:54: error: expected type-specifier before 'IRsend'
26. 
27.    irsend = new IRsend(pin[GPIO_IRSEND]); // an IR led is at GPIO_IRSEND
28. 
29.                 ^
30. 
31. xdrv_irremote:54: error: expected ';' before 'IRsend'
32. 
33. Desktop\Sonoff-Tasmota-development\sonoff\xdrv_irremote.ino: At global scope:
34. 
35. xdrv_irremote:73: error: 'IRrecv' does not name a type
36. 
37.  IRrecv *irrecv = NULL;
38. 
39.  ^
40. 
41. Desktop\Sonoff-Tasmota-development\sonoff\xdrv_irremote.ino: In function 'void IrReceiveInit()':
42. 
43. xdrv_irremote:78: error: 'irrecv' was not declared in this scope
44. 
45.    irrecv = new IRrecv(pin[GPIO_IRRECV]); // an IR led is at GPIO_IRRECV
46. 
47.    ^
48. 
49. xdrv_irremote:78: error: expected type-specifier before 'IRrecv'
50. 
51.    irrecv = new IRrecv(pin[GPIO_IRRECV]); // an IR led is at GPIO_IRRECV
52. 
53.                 ^
54. 
55. xdrv_irremote:78: error: expected ';' before 'IRrecv'
56. 
57. Desktop\Sonoff-Tasmota-development\sonoff\xdrv_irremote.ino: In function 'void IrReceiveCheck()':
58. 
59. xdrv_irremote:89: error: 'decode_results' was not declared in this scope
60. 
61.    decode_results results;
62. 
63.    ^
64. 
65. xdrv_irremote:89: error: expected ';' before 'results'
66. 
67.    decode_results results;
68. 
69.                   ^
70. 
71. xdrv_irremote:91: error: 'irrecv' was not declared in this scope
72. 
73.    if (irrecv->decode(&results)) {
74. 
75.        ^
76. 
77. xdrv_irremote:91: error: 'results' was not declared in this scope
78. 
79.    if (irrecv->decode(&results)) {
80. 
81.                        ^
82. 
83. Desktop\Sonoff-Tasmota-development\sonoff\xdrv_irremote.ino: In function 'boolean IrSendCommand(char*, uint16_t, char*, uint16_t, int16_t)':
84. 
85. xdrv_irremote:308: error: 'irsend' was not declared in this scope
86. 
87.                irsend->sendNEC(data, bits); break;
88. 
89.                ^
90. 
91. exit status 1
92. 'class HardwareSerial' has no member named 'baudRate'
stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 6 years ago

This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem.