Quantcast
Channel: panStamp forum - All Forums
Viewing all articles
Browse latest Browse all 473

fail to compile bmpsensor sketch

$
0
0
Hi all,

I've updated my installation of Arduino and now, when I try to compile a default provided sketch like bmpsensor (same for temphumpress), I get the following compilation error:

Code:
Arduino: 1.6.8 (Linux), Board: "panStamp AVR 2 w/ atmega328p"

WARNING: Category '' in library EEPROM is not valid. Setting to 'Uncategorized'
WARNING: Category '' in library SPI is not valid. Setting to 'Uncategorized'
WARNING: Category '' in library SoftwareSerial is not valid. Setting to 'Uncategorized'
WARNING: Category '' in library Wire is not valid. Setting to 'Uncategorized'
/home/jeremie/synced/perso/sketchbook/libraries/SWAP/swpacket.cpp: In member function 'bool SWPACKET::send()':
/home/jeremie/synced/perso/sketchbook/libraries/SWAP/swpacket.cpp:168:26: error: 'class PANSTAMP' has no member named 'sendData'
   while(!(res = panstamp.sendData(ccPacket)) && i>1)
                          ^
exit status 1
Error compiling for board panStamp AVR 2 w/ atmega328p.

I'm using
  • Arduino 1.6.8 on linux
  • AVR board and SWAP libraries installed through the Arduino interface.

Any hint to debug this would be greatly appreciated. In particular, I'm wondering if the WARNING at the top can safely be ignored.

I've tried to compile and upload the "simpletest" from the panstamp_sketches and it works.
Many thanks
Jeremie

Viewing all articles
Browse latest Browse all 473

Trending Articles