From 656a2b490d63ec527384a6eeb83a279aebef3b14 Mon Sep 17 00:00:00 2001 From: JohnD Date: Wed, 19 Jul 2023 15:14:23 -0400 Subject: [PATCH] name spi ss pin correctly --- inst/+arduinoio/+config/config_uno_minima_r4.m | 2 +- inst/+arduinoio/+config/config_uno_wifi_r4.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inst/+arduinoio/+config/config_uno_minima_r4.m b/inst/+arduinoio/+config/config_uno_minima_r4.m index 389517b..27f11fc 100644 --- a/inst/+arduinoio/+config/config_uno_minima_r4.m +++ b/inst/+arduinoio/+config/config_uno_minima_r4.m @@ -23,7 +23,7 @@ retval.pins{end+1} = arduinoio.config.pin_info('D7', 7, { 'digital' }); retval.pins{end+1} = arduinoio.config.pin_info('D8', 8, { 'digital' }); retval.pins{end+1} = arduinoio.config.pin_info('D9', 9, { 'digital', 'pwm' }); - retval.pins{end+1} = arduinoio.config.pin_info('D10', 10, { 'digital', 'spi_cs', 'pwm' }); + retval.pins{end+1} = arduinoio.config.pin_info('D10', 10, { 'digital', 'spi_ss', 'pwm' }); retval.pins{end+1} = arduinoio.config.pin_info('D11', 11, { 'digital', 'spi_mosi', 'pwm' }); retval.pins{end+1} = arduinoio.config.pin_info('D12', 12, { 'digital', 'spi_miso' }); retval.pins{end+1} = arduinoio.config.pin_info('D13', 13, { 'digital', 'led', 'spi_sck' }); diff --git a/inst/+arduinoio/+config/config_uno_wifi_r4.m b/inst/+arduinoio/+config/config_uno_wifi_r4.m index 8afed90..bbac523 100644 --- a/inst/+arduinoio/+config/config_uno_wifi_r4.m +++ b/inst/+arduinoio/+config/config_uno_wifi_r4.m @@ -43,7 +43,7 @@ retval.pins{end+1} = arduinoio.config.pin_info('D7', 7, { 'digital' }); retval.pins{end+1} = arduinoio.config.pin_info('D8', 8, { 'digital' }); retval.pins{end+1} = arduinoio.config.pin_info('D9', 9, { 'digital', 'pwm' }); - retval.pins{end+1} = arduinoio.config.pin_info('D10', 10, { 'digital', 'spi_cs', 'can0_tx', 'pwm' }); + retval.pins{end+1} = arduinoio.config.pin_info('D10', 10, { 'digital', 'spi_ss', 'can0_tx', 'pwm' }); retval.pins{end+1} = arduinoio.config.pin_info('D11', 11, { 'digital', 'spi_mosi', 'pwm' }); retval.pins{end+1} = arduinoio.config.pin_info('D12', 12, { 'digital', 'spi_miso' }); retval.pins{end+1} = arduinoio.config.pin_info('D13', 13, { 'digital', 'led', 'spi_sck', 'can0_rx' });