If you want to stay with an stable version you should consider version 3.0.12, there were quite a lot of fixes and features added to 3.0.12.
Yes that's it for the basic function, BUT depending on the sensor you are using you may need also use a pullup function to get reliable readings.However, I am planning to install a filament runout sensor and I decided to compile my own for my liking. I was wondering can you briefly tell me which file did you do the modification. Basically, I just want to add the sensor on, so whenever the filament run out, the print pause and wait for my input from the LCD. I know you add a sensor menu on the latest firmware, and I want to add it to my current firmware as well. Would you mind if you can tell me which file did you touch and modified? Thanks and have a great day.
So If I just want to add the filament sensor to RamBo using the y-max end stop. Do I just change the FR_SENS to 24 under pins.h and Uncomment the #define FILAMENT RUNOUT SUPPORT under Configuration_prusa.h? Is that it? or I have something else to do?
Useful is also to #define DISABLE_MAX_ENDSTOPS in the Configuration.h
For more information you also can compare
https://github.com/3d-gussner/Prusa-Fir ... -FRSens_v1 https://github.com/3d-gussner/Prusa-Fir ... ens_v1.zip
with https://github.com/prusa3d/Prusa-Firmwa ... ag/v3.0.12 https://github.com/prusa3d/Prusa-Firmwa ... 3.0.12.zip
That was bit more work to implement just check my github and commits i have.Is it hard to implement the menu like you did on 3.1.0-RC1 firmware? Thanks.
Had to mod 'Configuration.h', 'Marlin_main.cpp', 'ultralcd.cpp', 'language_en.h',... files generate 'language_all.h/cpp' files. And it took days of testing.
At the moment i am reorganizing my github, so not all branches are up to date.
But you can get an idea if you look in the ALL_IN_ONE branch and search for 'RUNOUT'.
Hope that helps,
Waldemar aka 3d-gussner