as 1024 and RPMmax are both constants, do that math at compile time.
Is it possible that I destroy my TFT-display because my power supply for PIC18f4520 is 5volt?Communication between PIC and ILI9341 is on 5 volt.
RPM = ((1024 - ( ADRESH:ADRESL))* RPMmax) /1024
depending on the processor used, you'll need to use or PBPL(ongs) or DIV32 ...
All the formula does is convert the ADC result into a value ranging from 0-1 then multiply that by the maximum RPM. When ADC reads 0 you get 0 RPM when the ADC reads 1023 you get max rpm, whatever...
I am developing a speed control for brushless DC motor and I need to convert the Back-EMF voltage into RPM.
In the application note AN893 (equation A-8) from microchip is the...
if someone tried Richard's example with PIC18F2520 or PIC18f4520
I tried his example with PIC18F4520 and unfortunately not working. I have just a white screen.
If someone can send...
i like to make small Tracker body heat with a pic this is posible.
done a bit more
have added tft_sleep tft_wake tft_on tft_off subs, added DRAWRRECT usercmd (draw round cornered rectangle).
change way buttons are defined . can have rectangular buttons ,...
i think what threw me in my thinking hendrick was that the math command of "//" remainder (modulus) in that i have only ever used it to test for the remainder value of 0 or 1 being true /false in a...
Hi Friend !
You can access Rentron using the Web Archive.
Choose a year and try to find what you need !
See you :)