o: ActiveSupport::Cache::Entry :@compressedF:@value"\ "V
| main.h | ||
|---|---|---|
| 1 |
#include <18F4550.h>
|
|
| 2 |
#device adc=8
|
|
| 1 |
#include <16F887.h>
|
|
| 2 |
#device adc=10
|
|
| 3 | 3 |
|
| 4 | 4 |
#FUSES NOWDT //No Watch Dog Timer |
| 5 |
#FUSES INTRC_IO //Internal RC Osc, no CLKOUT
|
|
| 5 |
#FUSES INTRC //Internal RC Osc
|
|
| 6 | 6 |
#FUSES NOPUT //No Power Up Timer |
| 7 | 7 |
#FUSES MCLR //Master Clear pin enabled |
| 8 | 8 |
#FUSES NOPROTECT //Code not protected from reading |
| ... | ... | |
| 15 | 15 |
#FUSES NOWRT //Program memory not write protected |
| 16 | 16 |
#FUSES BORV40 //Brownout reset at 4.0V |
| 17 | 17 |
|
| 18 |
#use delay(clock=4000000) |
|
| 19 |
|
|
| 18 |
#use delay(clock=8000000) |
|
| 20 | 19 |
#use rs232(baud=9600,parity=N,xmit=PIN_B7,rcv=PIN_B6,bits=8) |
| 21 | 20 |
|