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

  • 大小: 425KB
    文件類型: .zip
    金幣: 2
    下載: 1 次
    發布日期: 2021-06-08
  • 語言: 其他
  • 標簽: 代碼??cnc??

資源簡介

grbl 代碼 0.9j

資源截圖

代碼片段和文件信息

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

??Copyright?(c)?2012-2015?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?“grbl.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_set_state(uint8_t?mode)
{
??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();
??}
}


void?coolant_run(uint8_t?mode)
{
??if?(sys.state?==?STATE_CHECK_MODE)?{?return;?}
??protocol_buffer_synchronize();?//?Ensure?coolant?turns?on?when?specified?in?program.??
??coolant_set_state(mode);
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2015-07-27?23:33??print-project\
?????目錄???????????0??2015-07-27?21:50??print-project\grbl-master\
?????文件??????????42??2015-07-17?22:19??print-project\grbl-master\.gitignore
?????文件????????3662??2015-07-27?21:49??print-project\grbl-master\3d-print.pnproj
?????文件?????????197??2015-07-27?21:49??print-project\grbl-master\3d-print.pnps
?????文件???????35285??2015-07-17?22:19??print-project\grbl-master\COPYING
?????文件????????3496??2015-07-17?22:19??print-project\grbl-master\Makefile
?????文件????????5839??2015-07-17?22:19??print-project\grbl-master\README.md
?????目錄???????????0??2015-07-27?21:50??print-project\grbl-master\build\
?????文件?????????929??2015-07-27?21:50??print-project\grbl-master\build\coolant_control.d
?????文件????????1336??2015-07-27?21:50??print-project\grbl-master\build\coolant_control.o
?????文件??????????31??2015-07-27?21:50??print-project\grbl-master\build\eeprom.d
?????文件????????1900??2015-07-27?21:50??print-project\grbl-master\build\eeprom.o
?????文件?????????909??2015-07-27?21:50??print-project\grbl-master\build\gcode.d
?????文件???????19064??2015-07-27?21:50??print-project\grbl-master\build\gcode.o
?????文件?????????911??2015-07-27?21:50??print-project\grbl-master\build\limits.d
?????文件????????5432??2015-07-27?21:50??print-project\grbl-master\build\limits.o
?????文件?????????907??2015-07-27?21:50??print-project\grbl-master\build\main.d
?????文件???????43038??2015-07-27?21:50??print-project\grbl-master\build\main.elf
?????文件????????1720??2015-07-27?21:50??print-project\grbl-master\build\main.o
?????文件?????????927??2015-07-27?21:50??print-project\grbl-master\build\motion_control.d
?????文件????????6868??2015-07-27?21:50??print-project\grbl-master\build\motion_control.o
?????文件?????????919??2015-07-27?21:50??print-project\grbl-master\build\nuts_bolts.d
?????文件????????2480??2015-07-27?21:50??print-project\grbl-master\build\nuts_bolts.o
?????文件?????????913??2015-07-27?21:50??print-project\grbl-master\build\planner.d
?????文件????????8780??2015-07-27?21:50??print-project\grbl-master\build\planner.o
?????文件?????????909??2015-07-27?21:50??print-project\grbl-master\build\print.d
?????文件????????4264??2015-07-27?21:50??print-project\grbl-master\build\print.o
?????文件?????????909??2015-07-27?21:50??print-project\grbl-master\build\probe.d
?????文件????????1656??2015-07-27?21:50??print-project\grbl-master\build\probe.o
?????文件?????????915??2015-07-27?21:50??print-project\grbl-master\build\protocol.d
............此處省略75個文件信息

評論

共有 條評論