Hi there. I am connecting my arduino mega with a cc3000 wifi shield by adafruit. besides that, i also have lcd display, membrane keypad, relay, rfid reader and some LEDs connected to the Mega. i created a petrol pump, and it works completely fine. but then when i tried to integrate the wifi shield coding with the pump coding. here comes the problem.
Arduino: 1.6.6 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
gabung_total:70: error: 'int select' redeclared as different kind of symbol
this error happens when i include the coding from loop section in wifi part to the pump part. i attached my coding below.
using my coding w'out wifi shield part, my petrol pump is working fine. also when i only use the wifi coding, i can get the data to be uploaded to my browser. the problem happens when i try to combine these codes.
thanks for helping me solve this problem. ur response is greatly appreciated
Combine.txt (13.3 KB)