I am making a project for my college in which I need to measure the rpm of the motor and show the real-time clock on the 128x64 GLCD simultaneously but when I run the project it only shows one thing at a time. is there any method to show both of them simultaneously I am not putting any code because I just compile my hall sensor separately and rtc code separately
Arduino Microprocessors are mostly single core devices and thus are unable to do more than one thing at a time. The trick is to write code efficiently so it looks like several things are happening at the same time but in reality they just happen very quickly. The LCD only needs to show time every second and displaying RPM every second should be enough so to get both to happen within a second should be possible.