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

  • 大小: 264KB
    文件類型: .rar
    金幣: 2
    下載: 2 次
    發布日期: 2021-05-12
  • 語言: 其他
  • 標簽: grbl??

資源簡介

grbl_09版代碼,全翻譯中文注釋,對grbl學習有非常大的幫主。

資源截圖

代碼片段和文件信息

/*
??coolant_control.c?-?coolant?control?methods?冷卻液控制方法
??Part?of?Grbl?v0.9

??Copyright?(c)?2012-2014?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?“system.h“
#include?“coolant_control.h“
#include?“protocol.h“
#include?“gcode.h“


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


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


void?coolant_run(uint8_t?mode)
{
??if?(sys.state?==?STATE_CHECK_MODE)?{?return;?}

??protocol_auto_cycle_start();???//temp?fix?for?M8?lockup對于M8的鎖定臨時修復
??protocol_buffer_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();
??}
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件?????????31??2014-09-05?14:46??grbl-master\.gitignore

?????文件??????26816??2014-10-19?23:37??grbl-master\config.h

?????文件???????1699??2014-10-19?23:39??grbl-master\coolant_control.c

?????文件????????861??2014-09-05?14:46??grbl-master\coolant_control.h

?????文件??????36572??2014-09-05?14:46??grbl-master\COPYING

?????文件??????17773??2014-10-20?00:00??grbl-master\cpu_map.h

?????文件??????33792??2014-11-05?13:33??grbl-master\Debug\vc60.idb

?????文件??????28672??2014-11-05?13:33??grbl-master\Debug\vc60.pdb

?????文件??????13249??2014-09-05?14:46??grbl-master\defaults.h

?????文件???????5685??2014-10-20?00:02??grbl-master\eeprom.c

?????文件???????1596??2014-09-05?14:46??grbl-master\eeprom.h

?????文件??????72374??2016-02-10?01:06??grbl-master\gcode.c

?????文件???????9244??2014-11-08?22:05??grbl-master\gcode.h

?????文件??????17685??2014-10-22?00:49??grbl-master\limits.c

?????文件???????1354??2014-10-22?00:37??grbl-master\limits.h

?????文件???????1938??2016-02-08?17:38??grbl-master\main.c

?????文件???????3235??2014-09-05?14:46??grbl-master\Makefile

?????文件??????24181??2014-10-22?12:46??grbl-master\motion_control.c

?????文件???????3328??2014-10-22?12:33??grbl-master\motion_control.h

?????文件???????5314??2014-10-22?12:51??grbl-master\nuts_bolts.c

?????文件???????3218??2014-10-22?12:48??grbl-master\nuts_bolts.h

?????文件??????32206??2014-10-22?13:17??grbl-master\planner.c

?????文件???????5496??2014-10-22?12:55??grbl-master\planner.h

?????文件???????6035??2014-10-22?13:22??grbl-master\print.c

?????文件???????2135??2014-10-22?13:18??grbl-master\print.h

?????文件???????2317??2014-10-22?13:37??grbl-master\probe.c

?????文件???????1390??2014-10-22?13:30??grbl-master\probe.h

?????文件??????10762??2016-02-10?00:20??grbl-master\protocol.c

?????文件???????2951??2014-10-22?13:39??grbl-master\protocol.h

?????文件??????10422??2014-09-05?14:46??grbl-master\README.md

............此處省略34個文件信息

評論

共有 條評論