我按论坛中的帖子“微型CNC制作基于开源项目GRBLhttp://www.geek-workshop.com/thread-8147-1-1.html ”中grbl.hex烧进ATMEGA2560板子中,烧写是成功的,结果烧写完后代开串口什么都没有,而且打开Grbl controller显示"GRBL no data from COM port after connect.Expecting GRBL version string”,小白求助!
本来帖子中打开串口应该是如下:
GRBL是个开源项目,可以下载源文件,针对MEGA2560修改一下应该是可以的。
源文件 config.h:
// Default cpu mappings. Grbl officially supports the Arduino Uno only. Other processor types
// may exist from user-supplied templates or directly user-defined in cpu_map.h
#define CPU_MAP_ATMEGA328P // Arduino Uno CPU
改成:
#define CPU_MAP_ATMEGA2560
试试