The Code/s Which Will Set the Internal Osc. to 4MHz for PIC16F628

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

The Code/s Which Will Set the Internal Osc. to 4MHz for PIC16F628

335件の閲覧回数
CarrieDuoduo
Contributor I

Good day, 

Could you please help me with the code/s which will set the internal Osc. to 4MHz for a PIC16F628. 

I used the following for a external Crystal for 4MHz. 

器件 = 16F628( pic16f628 pdf (Forecast: Fuel Cell Electric Vehicles to Account for 4% of Zero Emission Solutions (ichome.com)) ) 

Xtal = 4 

All_Digital = True 

Dim D As Word 

Int: TRISB = %00000000 

PORTB = 0 

D = 150 

Main: High PORTB.0 

DelayMS D 

Low PORTB.0 

GoTo Main 

 

Now I would like to use the internal Osc. to do the same as the external Osc. 

Thanks very much

Life-long learning
0 件の賞賛
返信
0 返答(返信)