M3426 to read i2c MCP3426 ADC (#23184)

This commit is contained in:
Stuart Pittaway
2021-12-04 23:44:10 +00:00
committed by Scott Lahteine
parent 05b57278d4
commit c0addd1d33
9 changed files with 234 additions and 5 deletions

View File

@@ -1044,6 +1044,10 @@ void GcodeSuite::process_parsed_command(const bool no_ok/*=false*/) {
case 7219: M7219(); break; // M7219: Set LEDs, columns, and rows
#endif
#if ENABLED(HAS_MCP3426_ADC)
case 3426: M3426(); break; // M3426: Read MCP3426 ADC (over i2c)
#endif
default: parser.unknown_command_warning(); break;
}
break;