PDA

View Full Version : How many variables I can use with PIC16F877A ?



CuriousOne
- 3rd June 2014, 17:34
Hello.

I'm developing a complex control system, where 16 loads will be turned on and off according to specified conditions.

In total, I'd have to use up to 40 BYTE variables and about 8 - WORD variables. Will this hardware allow such operation?

HenrikOlsson
- 3rd June 2014, 19:21
Hi,
The 16F877A have 368 bytes of RAM. PBP needs around 24 for its own use so you're left with ~344 bytes for your own use which is about 6 times what you need. Yes that hardware will allow such operation.

/Henrik.

CuriousOne
- 3rd June 2014, 20:40
Thanks a lot!