bonsoir,
j'essaie de compiler ce code (pour dspic) avec mikroC for dspic:
mais à chaque fois que j'appuie sur build j'ai un message d'erreur me disantCode:/* * Description: Simple "Hello world" example for the world of dsPIC MCUs; * Test configuration: MCU: dsPIC30F4013 Dev.Board: EASYdsPIC2 Oscillator: EC, PLL4 = 4x10.000MHz Ext. Modules: None. SW: mikroC for dsPIC v1.0.0.0. * NOTES: None. */ int main() { //--- turn off A/D inputs ADPCFG = 0xFFFF; LATB = 0; TRISB = 0; LATC = 0; TRISC = 0; LATD = 0; TRISD = 0; LATF = 0xFFFF; TRISF = 0; while(1) { LATF = ~LATF; LATB = ~LATB; Delay_ms(2000); LATB = ~LATB; LATC = ~LATC; Delay_ms(2000); LATC = ~LATC; LATD = ~LATD; Delay_ms(2000); LATD = ~LATD; LATF = ~LATF; Delay_ms(2000); } }alors que si j'essai de compiler ceci (pour pic) avec mikroC:line/column
0:0
Devise clock can not be zero
il n'y a aucun problemeCode:/* * Project name: LED_Blinking (Simple 'Hello World' project) * Copyright: (c) Mikroelektronika, 2005. * Description: This is a simple 'Hello World' project. It turns on/off diodes connected to PORTC. It uses bitwise negation to toggle PORTB pins. * Test configuration: MCU: PIC16F877A Dev.Board: EasyPIC4 Oscillator: HS, 08.0000 MHz Ext. Modules: - SW: mikroC v6.0 * NOTES: None. */ void main() { PORTC = 0; TRISC = 0; while(1) { PORTC = ~PORTC; Delay_ms(1000); } }
souriez vous comment regler ça?
merci.
-----