serial::close()
← Back to Class serial
Close the serial port
There are no parameters.
boolean
true
import serial arduino = serial("/dev/ttyACM0") arduino.close()
Documentation version: 1.1.03. Updated on: 11 February 2026.Dinfio is designed and written by Muhammad Faruq Nuruddinsyah. Copyright © 2014-2026. All rights reserved.