Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Smoothie by
SwitchPool.h
00001 /* 00002 this file is part of smoothie (http://smoothieware.org/). the motion control part is heavily based on grbl (https://github.com/simen/grbl). 00003 smoothie 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. 00004 smoothie 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. 00005 you should have received a copy of the gnu general public license along with smoothie. if not, see <http://www.gnu.org/licenses/>. 00006 */ 00007 00008 #ifndef SWITCHPOOL_H 00009 #define SWITCHPOOL_H 00010 00011 #include "Switch.h" 00012 #include <math.h> 00013 using namespace std; 00014 #include <vector> 00015 00016 #define enable_checksum CHECKSUM("enable") 00017 00018 class SwitchPool : public Module { 00019 public: 00020 SwitchPool(); 00021 00022 void on_module_loaded(); 00023 00024 vector<Switch*> controllers; 00025 }; 00026 00027 00028 00029 #endif // SWITCHPOOL_H
Generated on Tue Jul 12 2022 20:09:02 by
1.7.2
