- Serial Port(s)
- SERIAL_PORT
- SERIAL_PORT_2
- BAUDRATE
- Hardware Identification
- MOTHERBOARD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> // cout | |
#include <string> // string | |
#include <chrono> // time_point, duration, microseconds | |
#include <thread> // this_Thread::sleep_for | |
template <typename Clock> | |
class ScopedTimer { | |
public: | |
ScopedTimer(const std::string& name) : name(name), start(Clock::now()) {} | |
~ScopedTimer() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* USER CODE BEGIN Header */ | |
/** | |
****************************************************************************** | |
* @file : main.c | |
* @brief : Main program body | |
****************************************************************************** | |
* @attention | |
* | |
* <h2><center>© Copyright (c) 2021 STMicroelectronics. | |
* All rights reserved.</center></h2> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Marlin 3D Printer Firmware | |
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] | |
* | |
* Based on Sprinter and grbl. | |
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm | |
* | |
* This program 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
//using System.Collections.Generic; | |
//using System.Linq; | |
//using System.Threading.Tasks; | |
using System.Windows.Forms; | |
using System.Threading; | |
using System.Drawing; | |
namespace KeyboardLocksIndicator { | |
static class Program { |