arduino-libraries / Arduino_MachineControl

GNU Lesser General Public License v2.1
38 stars 29 forks source link

IOExpander: add readAll() API #86

Closed facchinm closed 2 years ago

facchinm commented 2 years ago

@manchoz

github-actions[bot] commented 2 years ago

Memory usage change @ ee437a6d94cb34c7c64dfe082c5046c6d24f8aee

Board flash % RAM for global variables %
arduino:mbed_portenta:envie_m7 :small_red_triangle: 0 - +128 0.0 - +0.02 0 - 0 0.0 - 0.0
Click for full report table Board|examples/Analog_Out
flash|%|examples/Analog_Out
RAM for global variables|%|examples/Analog_input/Analog_input_0_10V
flash|%|examples/Analog_input/Analog_input_0_10V
RAM for global variables|%|examples/Analog_input/Analog_input_4_20mA
flash|%|examples/Analog_input/Analog_input_4_20mA
RAM for global variables|%|examples/Analog_input/Analog_input_NTC
flash|%|examples/Analog_input/Analog_input_NTC
RAM for global variables|%|examples/CAN/ReadCan
flash|%|examples/CAN/ReadCan
RAM for global variables|%|examples/CAN/WriteCan
flash|%|examples/CAN/WriteCan
RAM for global variables|%|examples/Digital_output
flash|%|examples/Digital_output
RAM for global variables|%|examples/Digital_programmable/CombinedIOExpander
flash|%|examples/Digital_programmable/CombinedIOExpander
RAM for global variables|%|examples/Digital_programmable/Digital_input
flash|%|examples/Digital_programmable/Digital_input
RAM for global variables|%|examples/Digital_programmable/GPIO_programmable
flash|%|examples/Digital_programmable/GPIO_programmable
RAM for global variables|%|examples/Encoders
flash|%|examples/Encoders
RAM for global variables|%|examples/Ethernet
flash|%|examples/Ethernet
RAM for global variables|%|examples/RS232
flash|%|examples/RS232
RAM for global variables|%|examples/RS485_fullduplex
flash|%|examples/RS485_fullduplex
RAM for global variables|%|examples/RS485_halfduplex
flash|%|examples/RS485_halfduplex
RAM for global variables|%|examples/RTC
flash|%|examples/RTC
RAM for global variables|%|examples/RTC_Alarm
flash|%|examples/RTC_Alarm
RAM for global variables|%|examples/Temp_probes_RTD
flash|%|examples/Temp_probes_RTD
RAM for global variables|%|examples/Temp_probes_Thermocouples
flash|%|examples/Temp_probes_Thermocouples
RAM for global variables|%|examples/USB_host
flash|%|examples/USB_host
RAM for global variables|% -|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|- arduino:mbed_portenta:envie_m7|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|128|0.02|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0
Click for full report CSV ``` Board,examples/Analog_Out
flash,%,examples/Analog_Out
RAM for global variables,%,examples/Analog_input/Analog_input_0_10V
flash,%,examples/Analog_input/Analog_input_0_10V
RAM for global variables,%,examples/Analog_input/Analog_input_4_20mA
flash,%,examples/Analog_input/Analog_input_4_20mA
RAM for global variables,%,examples/Analog_input/Analog_input_NTC
flash,%,examples/Analog_input/Analog_input_NTC
RAM for global variables,%,examples/CAN/ReadCan
flash,%,examples/CAN/ReadCan
RAM for global variables,%,examples/CAN/WriteCan
flash,%,examples/CAN/WriteCan
RAM for global variables,%,examples/Digital_output
flash,%,examples/Digital_output
RAM for global variables,%,examples/Digital_programmable/CombinedIOExpander
flash,%,examples/Digital_programmable/CombinedIOExpander
RAM for global variables,%,examples/Digital_programmable/Digital_input
flash,%,examples/Digital_programmable/Digital_input
RAM for global variables,%,examples/Digital_programmable/GPIO_programmable
flash,%,examples/Digital_programmable/GPIO_programmable
RAM for global variables,%,examples/Encoders
flash,%,examples/Encoders
RAM for global variables,%,examples/Ethernet
flash,%,examples/Ethernet
RAM for global variables,%,examples/RS232
flash,%,examples/RS232
RAM for global variables,%,examples/RS485_fullduplex
flash,%,examples/RS485_fullduplex
RAM for global variables,%,examples/RS485_halfduplex
flash,%,examples/RS485_halfduplex
RAM for global variables,%,examples/RTC
flash,%,examples/RTC
RAM for global variables,%,examples/RTC_Alarm
flash,%,examples/RTC_Alarm
RAM for global variables,%,examples/Temp_probes_RTD
flash,%,examples/Temp_probes_RTD
RAM for global variables,%,examples/Temp_probes_Thermocouples
flash,%,examples/Temp_probes_Thermocouples
RAM for global variables,%,examples/USB_host
flash,%,examples/USB_host
RAM for global variables,% arduino:mbed_portenta:envie_m7,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,128,0.02,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0 ```
Rocketct commented 2 years ago

Hi guys did you check if the print of the pins is aligned with the headers number views? at last we decide to not include the writeAll?

pnndra commented 2 years ago

we need to also add the writeAll() API

Rocketct commented 2 years ago

ookk so let me check this if work correctly i'll merge and on top of this i'll push the writeAll()