Code Error


i purchased rfid reader , pulled servo out of old rc plane.  the goal use servo lock , unlock dorm room door tag. able find code writer make error in line states:

"softwareserial rfid = softwareserial(rxpin,txpin);"

the error reads:
" in function 'void loop()':
error: 'softwareserial' not declared in scope"

i have no clue how declare it.
any help?



Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Code Error


arduino

Comments