Arduino ide 1.6.7 Adruino mini pro 328 , esp8266 esp-o1, bmp180, sketch
/home/insippo/sketchbook/libraries/Esp8266EasyIoT/examples/esp8266_pressure/esp8266_pressure.ino: In function 'void setup()':
esp8266_pressure:47: error: 'Serial1' was not declared in this scope
Serial1.begin(9600); // ESP
^
exit status 1
'Serial1' was not declared in this scope
The ProMini uses the Atmega 328 so it does not have a Serial1 unless you create it with the SoftwareSerial library. A Mega or Leonardo would have an in-built Serial1.
Today i understand someting but how and this is right. I do not know exactly. I modified this . I switch off debug but Arduino ide says : not enough memory. Something needed cut off.
insippo:
Today i understand someting but how and this is right. I do not know exactly. I modified this . I switch off debug but Arduino ide says : not enough memory. Something needed cut off.
Post the code that doesn't work, not a link to the code that does work.
It's like saying "I bought a new car. Then I modified the engine. Now it doesn't work. What's wrong with it?". We need to see the modified code, not the original code.
This says : not enough memory. I modified softwareserial but cant work this sketch. Initilizing bmp180 ok and after 2-5 min initialization error. This is not power problem. I have 3A power adapter.
Putting your code in the rubbish bin wastes everyone's time. Use Reply and the Additional Options link to attach your code here or suck it up and fix your problem yourself.
for(int i =0; i<10;i++)
{
if (esp.process())
break;
}
WTF? Why do you call a function that takes no arguments and returns a boolean 10 times?
Since you didn't post any links to the libraries you are using, or do an adequate job of defining the hardware (links, not vague descriptions), you are still on your own.
Im noob for this. First version this code for Arduino Mega. I try change Serial1 software serial and upload it Arduino Pro mini 3,3v 8MHz + esp8266 + bmp180