今回のプログラムを前回のPIC16F88に入れると1/4程度に収まってしまいます。確かに88を使うのは無駄。。。だけどPIC自体は新しい方のがチップが安いので新しく作る場合にはF88ですね。。。
前回PIC16F88のビルド後プログラムスペース
Memory Summary:
Program space used 6CFh ( 1743) of 1000h words ( 42.6%)
Data space used 29h ( 41) of 170h bytes ( 11.1%)
EEPROM space used 0h ( 0) of 100h bytes ( 0.0%)
Configuration bits used 1h ( 1) of 2h words ( 50.0%)
ID Location space used 0h ( 0) of 4h bytes ( 0.0%)
↓
↓
今回PIC16F88用でビルドした時のプログラムスペース
Memory Summary:
Program space used 3C8h ( 968) of 1000h words ( 23.6%)
Data space used 28h ( 40) of 170h bytes ( 10.9%)
EEPROM space used 0h ( 0) of 100h bytes ( 0.0%)
Configuration bits used 1h ( 1) of 2h words ( 50.0%)
ID Location space used 0h ( 0) of 4h bytes ( 0.0%)
今回PIC16F84A用でビルドした時のプログラムスペース
Memory Summary:
Program space used 356h ( 854) of 400h words ( 83.4%)
Data space used 28h ( 40) of 44h bytes ( 58.8%)
EEPROM space used 0h ( 0) of 40h bytes ( 0.0%)
Configuration bits used 1h ( 1) of 1h word (100.0%)
ID Location space used 0h ( 0) of 4h bytes ( 0.0%)