极客工坊

 找回密码
 注册

QQ登录

只需一步,快速开始

楼主: davidce

自制基于arduino的GPS地图导航系统3.0

  [复制链接]
发表于 2016-5-19 13:56:07 | 显示全部楼层
本帖最后由 a6641 于 2016-5-19 14:00 编辑

Untitled _bb.png
回复 支持 反对

使用道具 举报

发表于 2016-5-19 13:56:10 | 显示全部楼层
a6641 发表于 2016-5-19 13:48
在开发板上引出2,3pin口的线,再从开发板接一根GND线,两个接到测试板上再接两个按钮

搞定了。万分感谢啊!!
回复 支持 反对

使用道具 举报

发表于 2016-5-19 13:57:54 | 显示全部楼层
看不懂文字看62楼的图
回复 支持 反对

使用道具 举报

发表于 2016-5-19 14:08:12 | 显示全部楼层
a6641 发表于 2016-5-19 13:57
看不懂文字看62楼的图

恩,文字意思我懂了,接法不一样但是本质一样的,就是用按钮把2和3接到GND上,然后按钮联通的时候电流接地就收到信号了感谢感谢
回复 支持 反对

使用道具 举报

发表于 2016-5-19 14:09:15 | 显示全部楼层
成功弄出成品了~~~后来人如果有不懂不明白的地方可以加我QQ1162394947问~~~~感谢davidce大大和a6641大大~~
回复 支持 反对

使用道具 举报

 楼主| 发表于 2016-5-21 10:52:47 | 显示全部楼层
你们还玩出了新花样,佩服
回复 支持 反对

使用道具 举报

发表于 2016-5-29 15:18:55 | 显示全部楼层
楼主 我的编译不成功啊

Arduino:1.6.8 (Windows 10), 开发板:"Microduino/mCookie-Core+ (1284pa), Atmega1284pa@16M,5V"


C:\Program Files (x86)\Arduino For Microduino\arduino-builder -dump-prefs -logger=machine -hardware "C:\Program Files (x86)\Arduino For Microduino\hardware" -hardware "C:\Users\Administrator\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino For Microduino\tools-builder" -tools "C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr" -tools "C:\Users\Administrator\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino For Microduino\libraries" -libraries "d:\Documents\Arduino\libraries" -fqbn=Microduino:avr:1284p:cpu=16MHzatmega1284 -ide-version=10608 -build-path "C:\Users\ADMINI~1\AppData\Local\Temp\build751bbe6aa14cf6d2f01190ada61d53a3.tmp" -warnings=default -prefs=build.warn_data_percentage=75 -verbose "C:\Users\Administrator\Desktop\401gpscoper\03\appMaster\appMaster\appMaster.ino"
C:\Program Files (x86)\Arduino For Microduino\arduino-builder -compile -logger=machine -hardware "C:\Program Files (x86)\Arduino For Microduino\hardware" -hardware "C:\Users\Administrator\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino For Microduino\tools-builder" -tools "C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr" -tools "C:\Users\Administrator\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino For Microduino\libraries" -libraries "d:\Documents\Arduino\libraries" -fqbn=Microduino:avr:1284p:cpu=16MHzatmega1284 -ide-version=10608 -build-path "C:\Users\ADMINI~1\AppData\Local\Temp\build751bbe6aa14cf6d2f01190ada61d53a3.tmp" -warnings=default -prefs=build.warn_data_percentage=75 -verbose "C:\Users\Administrator\Desktop\401gpscoper\03\appMaster\appMaster\appMaster.ino"
"C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_PLUS -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\variants\plus" "C:\Users\ADMINI~1\AppData\Local\Temp\build751bbe6aa14cf6d2f01190ada61d53a3.tmp\sketch\appMaster.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_PLUS -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\variants\plus" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI" "C:\Users\ADMINI~1\AppData\Local\Temp\build751bbe6aa14cf6d2f01190ada61d53a3.tmp\sketch\appMaster.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_PLUS -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\variants\plus" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI" "C:\Users\ADMINI~1\AppData\Local\Temp\build751bbe6aa14cf6d2f01190ada61d53a3.tmp\sketch\appMaster.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_PLUS -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\variants\plus" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT" "C:\Users\ADMINI~1\AppData\Local\Temp\build751bbe6aa14cf6d2f01190ada61d53a3.tmp\sketch\appMaster.ino.cpp" -o "C:\Users\ADMINI~1\AppData\Local\Temp\build751bbe6aa14cf6d2f01190ada61d53a3.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
C:\Users\Administrator\Desktop\401gpscoper\03\appMaster\appMaster\appMaster.ino:23:21: fatal error: TinyGPS.h: No such file or directory


#include <TinyGPS.h>


^


compilation terminated.


使用库 _10_System_SPI 在文件夹: C:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI (legacy)
使用库 _01_Microduino_TFT 在文件夹: C:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT (legacy)
exit status 1
Error compiling for board Microduino/mCookie-Core+ (1284pa).
回复 支持 反对

使用道具 举报

 楼主| 发表于 2016-5-29 16:13:37 | 显示全部楼层
Arduino 1.05
回复 支持 反对

使用道具 举报

发表于 2016-5-30 22:04:23 | 显示全部楼层
davidce 发表于 2016-5-29 16:13
Arduino 1.05

什么意思? 降低编辑器的版本号??
回复 支持 反对

使用道具 举报

 楼主| 发表于 2016-5-30 23:20:40 | 显示全部楼层
proking 发表于 2016-5-30 22:04
什么意思? 降低编辑器的版本号??

是的                  
回复 支持 反对

使用道具 举报

发表于 2016-5-31 19:28:29 | 显示全部楼层
Arduino:1.6.8 (Windows 10), 开发板:"Microduino/mCookie-Core+ (1284pa), Atmega1284pa@16M,5V"

C:\Program Files (x86)\Arduino For Microduino\arduino-builder -dump-prefs -logger=machine -hardware "C:\Program Files (x86)\Arduino For Microduino\hardware" -hardware "C:\Users\Administrator\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino For Microduino\tools-builder" -tools "C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr" -tools "C:\Users\Administrator\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino For Microduino\libraries" -libraries "d:\Documents\Arduino\libraries" -fqbn=Microduino:avr:1284p:cpu=16MHzatmega1284 -ide-version=10608 -build-path "C:\Users\ADMINI~1\AppData\Local\Temp\buildf1a2a3df1aa4e45d8f210fe9fdbbc438.tmp" -warnings=default -prefs=build.warn_data_percentage=75 -verbose "C:\Users\ADMINI~1\AppData\Local\Temp\arduino_modified_sketch_680500\appMaster.ino"
C:\Program Files (x86)\Arduino For Microduino\arduino-builder -compile -logger=machine -hardware "C:\Program Files (x86)\Arduino For Microduino\hardware" -hardware "C:\Users\Administrator\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino For Microduino\tools-builder" -tools "C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr" -tools "C:\Users\Administrator\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino For Microduino\libraries" -libraries "d:\Documents\Arduino\libraries" -fqbn=Microduino:avr:1284p:cpu=16MHzatmega1284 -ide-version=10608 -build-path "C:\Users\ADMINI~1\AppData\Local\Temp\buildf1a2a3df1aa4e45d8f210fe9fdbbc438.tmp" -warnings=default -prefs=build.warn_data_percentage=75 -verbose "C:\Users\ADMINI~1\AppData\Local\Temp\arduino_modified_sketch_680500\appMaster.ino"
构建选项已变更,全部重新构建
"C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_PLUS -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\variants\plus" "C:\Users\ADMINI~1\AppData\Local\Temp\buildf1a2a3df1aa4e45d8f210fe9fdbbc438.tmp\sketch\appMaster.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_PLUS -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\variants\plus" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI" "C:\Users\ADMINI~1\AppData\Local\Temp\buildf1a2a3df1aa4e45d8f210fe9fdbbc438.tmp\sketch\appMaster.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_PLUS -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\variants\plus" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI" "C:\Users\ADMINI~1\AppData\Local\Temp\buildf1a2a3df1aa4e45d8f210fe9fdbbc438.tmp\sketch\appMaster.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_PLUS -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\variants\plus" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\TinyGPS" "C:\Users\ADMINI~1\AppData\Local\Temp\buildf1a2a3df1aa4e45d8f210fe9fdbbc438.tmp\sketch\appMaster.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_PLUS -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\variants\plus" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\TinyGPS" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\SdFat" "C:\Users\ADMINI~1\AppData\Local\Temp\buildf1a2a3df1aa4e45d8f210fe9fdbbc438.tmp\sketch\appMaster.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_PLUS -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\variants\plus" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\TinyGPS" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\SdFat" "C:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI\SPI.cpp" -o "nul"
"C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_PLUS -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\variants\plus" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\TinyGPS" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\SdFat" "C:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT\Adafruit_GFX.cpp" -o "nul"
"C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_PLUS -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\variants\plus" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\TinyGPS" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\SdFat" "C:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT\Adafruit_ILI9341.cpp" -o "nul"
"C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_PLUS -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\variants\plus" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\TinyGPS" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\SdFat" "C:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT\Adafruit_ST7735.cpp" -o "nul"
"C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_PLUS -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\variants\plus" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\TinyGPS" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\SdFat" "C:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT\TouchScreen.cpp" -o "nul"
"C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_PLUS -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\variants\plus" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\TinyGPS" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\SdFat" "C:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT\glcdfont.c" -o "nul"
"C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_PLUS -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\variants\plus" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\TinyGPS" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\SdFat" "C:\Program Files (x86)\Arduino For Microduino\libraries\TinyGPS\TinyGPS.cpp" -o "nul"
"C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_PLUS -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\variants\plus" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\TinyGPS" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\SdFat" "C:\Program Files (x86)\Arduino For Microduino\libraries\SdFat\MinimumSerial.cpp" -o "nul"
"C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_PLUS -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\variants\plus" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\TinyGPS" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\SdFat" "C:\Program Files (x86)\Arduino For Microduino\libraries\SdFat\Sd2Card.cpp" -o "nul"
"C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_PLUS -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\variants\plus" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\TinyGPS" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\SdFat" "C:\Program Files (x86)\Arduino For Microduino\libraries\SdFat\SdBaseFile.cpp" -o "nul"
"C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_PLUS -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\variants\plus" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\TinyGPS" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\SdFat" "C:\Program Files (x86)\Arduino For Microduino\libraries\SdFat\SdFat.cpp" -o "nul"
"C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_PLUS -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\variants\plus" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\TinyGPS" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\SdFat" "C:\Program Files (x86)\Arduino For Microduino\libraries\SdFat\SdFatUtil.cpp" -o "nul"
"C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_PLUS -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\variants\plus" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\TinyGPS" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\SdFat" "C:\Program Files (x86)\Arduino For Microduino\libraries\SdFat\SdFile.cpp" -o "nul"
"C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_PLUS -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\variants\plus" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\TinyGPS" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\SdFat" "C:\Program Files (x86)\Arduino For Microduino\libraries\SdFat\SdStream.cpp" -o "nul"
"C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_PLUS -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\variants\plus" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\TinyGPS" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\SdFat" "C:\Program Files (x86)\Arduino For Microduino\libraries\SdFat\SdVolume.cpp" -o "nul"
"C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_PLUS -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\variants\plus" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\TinyGPS" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\SdFat" "C:\Program Files (x86)\Arduino For Microduino\libraries\SdFat\istream.cpp" -o "nul"
"C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_PLUS -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\variants\plus" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\TinyGPS" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\SdFat" "C:\Program Files (x86)\Arduino For Microduino\libraries\SdFat\ostream.cpp" -o "nul"
"C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_PLUS -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\variants\plus" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\TinyGPS" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\SdFat" "C:\Users\ADMINI~1\AppData\Local\Temp\buildf1a2a3df1aa4e45d8f210fe9fdbbc438.tmp\sketch\appMaster.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_PLUS -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\variants\plus" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\TinyGPS" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\SdFat" "C:\Users\ADMINI~1\AppData\Local\Temp\buildf1a2a3df1aa4e45d8f210fe9fdbbc438.tmp\sketch\appMaster.ino.cpp" -o "C:\Users\ADMINI~1\AppData\Local\Temp\buildf1a2a3df1aa4e45d8f210fe9fdbbc438.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino For Microduino\tools-builder\ctags\5.8-arduino10/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\ADMINI~1\AppData\Local\Temp\buildf1a2a3df1aa4e45d8f210fe9fdbbc438.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino For Microduino\hardware\tools\avr/bin/avr-g++" -c -g -Os  -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=10608 -DARDUINO_AVR_PLUS -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\variants\plus" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI" "-IC:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\TinyGPS" "-IC:\Program Files (x86)\Arduino For Microduino\libraries\SdFat" "C:\Users\ADMINI~1\AppData\Local\Temp\buildf1a2a3df1aa4e45d8f210fe9fdbbc438.tmp\sketch\appMaster.ino.cpp" -o "C:\Users\ADMINI~1\AppData\Local\Temp\buildf1a2a3df1aa4e45d8f210fe9fdbbc438.tmp\sketch\appMaster.ino.cpp.o"
appMaster:46: error: 'TFT_A0' was not declared in this scope

Adafruit_ST7735 tft = Adafruit_ST7735(TFT_CS, TFT_A0, TFT_RST);

                                               ^

appMaster:46: error: 'TFT_RST' was not declared in this scope

Adafruit_ST7735 tft = Adafruit_ST7735(TFT_CS, TFT_A0, TFT_RST);

                                                       ^

使用库 _10_System_SPI 在文件夹: C:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_10_System_SPI (legacy)
使用库 _01_Microduino_TFT 在文件夹: C:\Program Files (x86)\Arduino For Microduino\hardware\Microduino\avr\libraries\_01_Microduino_TFT (legacy)
使用库 TinyGPS 在文件夹: C:\Program Files (x86)\Arduino For Microduino\libraries\TinyGPS (legacy)
使用库 SdFat 在文件夹: C:\Program Files (x86)\Arduino For Microduino\libraries\SdFat (legacy)
exit status 1
'TFT_A0' was not declared in this scope

《《《《《《《《《《这是出来的新错误
回复 支持 反对

使用道具 举报

发表于 2016-5-31 20:38:25 | 显示全部楼层
楼主啊 怎么联系啊 大神求教我
回复 支持 反对

使用道具 举报

发表于 2016-6-2 18:53:39 | 显示全部楼层
davidce 发表于 2016-5-30 23:20
是的

编译过去了 但是我的板子上tft 却是白屏 tft屏幕是好的
用的tft 是这个http://wiki.microduino.cn/index.php/Microduino-Module_TFT/zh
下面的扩展板 用的是这个http://wiki.microduino.cn/index.php/Microduino-Shield_Cube-S2/zh
回复 支持 反对

使用道具 举报

 楼主| 发表于 2016-6-3 00:23:41 | 显示全部楼层
proking 发表于 2016-6-2 18:53
编译过去了 但是我的板子上tft 却是白屏 tft屏幕是好的
用的tft 是这个http://wiki.microduino.cn/index ...

没有用过microduino的模块,可能需要修改代码
回复 支持 反对

使用道具 举报

发表于 2016-6-3 11:56:04 | 显示全部楼层
学习学习学习学习支持支持
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|联系我们|极客工坊 ( 浙ICP备09023225号 )

GMT+8, 2020-9-27 03:14 , Processed in 0.063553 second(s), 24 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表