Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner" | ||||||||
Line: 64 to 64 | ||||||||
apin@ ( a -- u ) gets the analog input port pin (A0 .. A5). Returns a 12 bit value (0..4095) I2Cdev ( u -- ) Sets the 7-bit I2C address | ||||||||
Changed: | ||||||||
< < | I2CTx ( c-addr u -- ) c-addr buffer address for the message with lengh u to send I2CRx ( c-addr u -- ) c-addr buffer address for the message to receive I2CTxRx ( a1 u1 a2 u2 -- ) a1 buffer address for the message to send, a2 buffer address for the message to receive | |||||||
> > | I2Cput ( c-addr u -- ) put a message with length u from buffer at c-addr to the I2C slave device I2Cget ( c-addr u -- ) get a message with length u from I2C slave device to buffer at c-addr I2Cputget ( a1 u1 a2 u2 -- ) put a message with length u1 from buffer at a1 to the I2C slave device and get a message with length u2 from device to buffer at a2 SPIputget ( a1 a2 u -- ) put a message with length u from buffer at a1 to the SPI slave device and get a message with length u from device to buffer at a2 SPIputc ( char ) put a single char to the SPI slave device | |||||||