@@ -362,8 +362,8 @@ def read_flash_info(self, raw=False, human=False):
362362 If ``False``, return only parsed data (this is the default).
363363 If ``True``, return all data unparsed.
364364 human (bool, optional):
365- If ``True ``, return variable names in readable text. (this is the default).
366- If ``False ``, return variable names untranslated, for API .
365+ If ``False ``, return variable names untranslated, for API (this is the default).
366+ If ``True ``, return variable names in readable text .
367367
368368 Return:
369369 dict: Flash data (parsed or raw)
@@ -1316,7 +1316,7 @@ def IOC_clear(self):
13161316 self .SRAM_config (int_conf = INT_FLAG_CLEAR )
13171317
13181318
1319- def IOC_config (self , edge = "none " ):
1319+ def IOC_config (self , edge = "both " ):
13201320 """ Configure Interruption On Change edge.
13211321
13221322 Valid values for ``edge``:
@@ -1334,7 +1334,7 @@ def IOC_config(self, edge = "none"):
13341334 ValueError: if edge detection value is not valid.
13351335
13361336 Example:
1337- >>> mcp.IOC_config("both ")
1337+ >>> mcp.IOC_config(edge = "rising ")
13381338 >>>
13391339
13401340 See also:
0 commit comments