91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 785KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2021-06-19
  • 語言: 其他
  • 標簽:

資源簡介

設備采用開源GRBL 0.8c固件,只是因為幾年前用的固件比較方便修改,所以沿用下來。新加入舵機控制代碼,可以模擬抬筆動作,

資源截圖

代碼片段和文件信息

/*
??coolant_control.c?-?coolant?control?methods
??Part?of?Grbl

??Copyright?(c)?2012?Sungeun?K.?Jeon

??Grbl?is?free?software:?you?can?redistribute?it?and/or?modify
??it?under?the?terms?of?the?GNU?General?Public?License?as?published?by
??the?Free?Software?Foundation?either?version?3?of?the?License?or
??(at?your?option)?any?later?version.

??Grbl?is?distributed?in?the?hope?that?it?will?be?useful
??but?WITHOUT?ANY?WARRANTY;?without?even?the?implied?warranty?of
??MERCHANTABILITY?or?FITNESS?FOR?A?PARTICULAR?PURPOSE.??See?the
??GNU?General?Public?License?for?more?details.

??You?should?have?received?a?copy?of?the?GNU?General?Public?License
??along?with?Grbl.??If?not?see?.
*/

#include?“coolant_control.h“
#include?“settings.h“
#include?“config.h“
#include?“planner.h“

#include?

static?uint8_t?current_coolant_mode;

void?coolant_init()
{
??current_coolant_mode?=?COOLANT_DISABLE;
??#if?ENABLE_M7
????COOLANT_MIST_DDR?|=?(1?<??#endif
??COOLANT_FLOOD_DDR?|=?(1?<??coolant_stop();
}

void?coolant_stop()
{
??#ifdef?ENABLE_M7
????COOLANT_MIST_PORT?&=?~(1?<??#endif
??COOLANT_FLOOD_PORT?&=?~(1?<}


void?coolant_run(uint8_t?mode)
{
??if?(mode?!=?current_coolant_mode)
??{?
????plan_synchronize();?//?Ensure?coolant?turns?on?when?specified?in?program.
????if?(mode?==?COOLANT_FLOOD_ENABLE)?{?
??????COOLANT_FLOOD_PORT?|=?(1?<????#ifdef?ENABLE_M7??
??????}?else?if?(mode?==?COOLANT_MIST_ENABLE)?{
??????????COOLANT_MIST_PORT?|=?(1?<????#endif
????}?else?{
??????coolant_stop();
????}
????current_coolant_mode?=?mode;
??}
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-04-15?12:01??GRBL\
?????目錄???????????0??2017-04-13?22:12??GRBL\.vs\
?????目錄???????????0??2017-04-13?22:12??GRBL\.vs\GRBL\
?????目錄???????????0??2017-04-13?22:12??GRBL\.vs\GRBL\v14\
?????文件???????32768??2017-04-15?15:12??GRBL\.vs\GRBL\v14\.suo
?????文件???????13851??2013-04-27?12:57??GRBL\config.h
?????文件????????1696??2013-04-27?12:57??GRBL\coolant_control.cpp
?????文件?????????976??2013-04-27?12:57??GRBL\coolant_control.h
?????目錄???????????0??2017-04-15?11:55??GRBL\Debug\
?????文件???????28472??2017-04-15?15:12??GRBL\Debug\board.buildinfo
?????文件?????????400??2017-04-15?11:55??GRBL\Debug\coolant_control.cpp.d
?????文件????????5068??2017-04-15?11:55??GRBL\Debug\coolant_control.cpp.o
?????文件??????316156??2017-04-15?11:55??GRBL\Debug\core.a
?????文件??????????94??2017-04-15?11:55??GRBL\Debug\eeprom.cpp.d
?????文件????????7000??2017-04-15?11:55??GRBL\Debug\eeprom.cpp.o
?????文件?????????623??2017-04-15?11:55??GRBL\Debug\gcode.cpp.d
?????文件???????30616??2017-04-15?11:55??GRBL\Debug\gcode.cpp.o
?????文件????????1055??2017-04-15?11:55??GRBL\Debug\GRBL.cpp.d
?????文件????????2832??2017-04-15?11:55??GRBL\Debug\GRBL.cpp.o
?????文件??????111688??2017-04-15?15:12??GRBL\Debug\GRBL.elf
?????文件???????72946??2017-04-15?15:12??GRBL\Debug\GRBL.hex
?????文件??????111688??2017-04-15?15:12??GRBL\Debug\GRBL.ino.elf
?????文件???????72946??2017-04-15?15:12??GRBL\Debug\GRBL.ino.hex
?????文件???????72743??2017-04-15?15:12??GRBL\Debug\GRBL.ino.with_bootloader.hex
?????目錄???????????0??2017-04-13?22:05??GRBL\Debug\GRBL.tlog\
?????文件???????72743??2017-04-15?15:12??GRBL\Debug\GRBL.with_bootloader.hex
?????文件?????????765??2017-04-15?11:55??GRBL\Debug\grblmain.cpp.d
?????文件????????7772??2017-04-15?11:55??GRBL\Debug\grblmain.cpp.o
?????文件?????????618??2017-04-15?11:55??GRBL\Debug\limits.cpp.d
?????文件???????14652??2017-04-15?11:55??GRBL\Debug\limits.cpp.o
?????文件?????????687??2017-04-15?11:55??GRBL\Debug\motion_control.cpp.d
............此處省略64個文件信息

評論

共有 條評論

相關資源