Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
uphp:functions [2019/12/20 09:22]
admin
uphp:functions [2020/10/26 10:36] (current)
admin
Line 174: Line 174:
 |[[.functions:​sizeof]]|<​html><​span style="​color:​green">​array</​html>​|<​html><​span style="​color:​green">​int<​span style="​color:​black">​ number of elements</​html>​|<​html>​Return the number of elements in an <span style="​color:​green">​array</​html>​| |[[.functions:​sizeof]]|<​html><​span style="​color:​green">​array</​html>​|<​html><​span style="​color:​green">​int<​span style="​color:​black">​ number of elements</​html>​|<​html>​Return the number of elements in an <span style="​color:​green">​array</​html>​|
 |[[.functions:​sleep]]|<​html><​span style="​color:​green">​int<​span style="​color:​blue">​ ms</​html>​||Sleep for specified milliseconds| |[[.functions:​sleep]]|<​html><​span style="​color:​green">​int<​span style="​color:​blue">​ ms</​html>​||Sleep for specified milliseconds|
 +|[[.functions:​snmp_trap_send]]|<​html><​span style="​color:​green">​string<​span style="​color:​blue">​ message<​span style="​color:​black"></​html>​|<​html><​span style="​color:​green">​int<​span style="​color:​black">​ 0 or 1</​html>​|<​html>​Send an SNMP trap message with ASCII content of <span style="​color:​blue">​source</​html>​|
 |[[.functions:​spi_clearcs]]|||Clear the CS output of the <tooltip title="​Serial Peripheral Interface">​SPI</​tooltip>​ bus| |[[.functions:​spi_clearcs]]|||Clear the CS output of the <tooltip title="​Serial Peripheral Interface">​SPI</​tooltip>​ bus|
 |[[.functions:​spi_read]]||<​html><​span style="​color:​green">​int<​span style="​color:​black">​ byte</​html>​|Read a byte from the <tooltip title="​Serial Peripheral Interface">​SPI</​tooltip>​ bus| |[[.functions:​spi_read]]||<​html><​span style="​color:​green">​int<​span style="​color:​black">​ byte</​html>​|Read a byte from the <tooltip title="​Serial Peripheral Interface">​SPI</​tooltip>​ bus|