www.phpoc.com
English
PHPoC Shield for Arduino Library Reference
181214
PDF Download
Phpoc Library
Phpoc Class
begin()
localIP()
subnetMask()
gatewayIP()
dnsServerIP()
beginIP6()
localIP6()
globalIP6()
gatewayIP6()
dnsServerIP6()
globalPrefix6()
PhpocServer Class
PhpocServer()
begin()
beginTelnet()
beginWebSocket()
beginWebSocketText()
beginWebSocketBinary()
available()
write()
PhpocClient Class
PhpocClient()
connected()
connect()
connectSSL()
write()
available()
read()
readLine()
flush()
stop()
PhpocEmail Class
setOutgoingServer()
setOutgoingLogin()
setFrom()
setTo()
setSubject()
beginMessage()
endMessage()
write()
send()
PhpocDatetime Class
date()
year()
month()
day()
dayofWeek()
hour()
minute()
second()
PhpocExpansion Library
ExpansionRelayOutput Class
ExpansionRelayOutput()
on()
off()
isOn()
isOff()
setDelay()
ExpansionPhotoInput Class
ExpansionPhotoInput()
isOn()
isOff()
setDelay()
ExpansionDCMotor Class
ExpansionDCMotor()
setPolarity()
setDirection()
setPeriod()
setWidth()
setDecay()
setEncoderPolarity()
setEncoderPosition()
setEncoderPSR()
getEncoderPosition()
getEncoderPeriod()
setFiterFrequency()
setFiterPNC()
getFiterPNC()
ExpansionStepper Class
ExpansionStepper()
reset()
unlock()
setMode()
setVrefStop()
setVrefDrive()
setVrefLock()
setResonance()
setSpeed()
setAccel()
setPosition()
getState()
getPosition()
stepMove()
stepGoto()
stepGotoSW()
stop()
setEioMode()
getEio()
ExpansionSerial Class
begin()
available()
peek()
read()
availableForWrite()
flush()
write()
ExpansionPhotoInput Class
This class is for using a 4-port degital input board for PHPoC shield 2.
Requirements
PhpocExpansion Library
Member Functions
ExpansionPhotoInput()
isOn()
isOff()
setdelay()
< setDelay()
ExpansionPhotoInput() >