Jan 16,2025
193 views
end-flag
  • Comments(3)
  • Likes(0)
Upload photo
You can only upload 5 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP
0 / 10000
  • You should try another Rotary library. Try this one: https://github.com/brianlow/Rotary

    Reply

  • Reply
  • HI,
    When i compile, i have these errors:

    C:\Users\Maison\Documents\Arduino\CODE\CODE.ino: In function 'void __vector_5()':
    C:\Users\Maison\Documents\Arduino\CODE\CODE.ino:110:17: error: 'class Rotary' has no member named 'process'
    char result = r.process();
    ^~~~~~~
    C:\Users\Maison\Documents\Arduino\CODE\CODE.ino:111:15: error: 'DIR_CW' was not declared in this scope
    if (result == DIR_CW) {
    ^~~~~~
    C:\Users\Maison\Documents\Arduino\CODE\CODE.ino:111:15: note: suggested alternative: 'DDRC'
    if (result == DIR_CW) {
    ^~~~~~
    DDRC
    C:\Users\Maison\Documents\Arduino\CODE\CODE.ino:120:20: error: 'DIR_CCW' was not declared in this scope
    else if (result == DIR_CCW) {
    ^~~~~~~
    thank for your help

    Reply
VOTING 0 votes
  • 0 USER VOTES
0.00
  • YOUR VOTE 0.00 0.00

More by Mirko Pavleski

You may also like