Jump to content

Allegro

EstablishedMember
  • Content count

    9
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Allegro

  • Rank
    Newbrie
  • Birthday 08/20/1981

Contact Methods

  • Website URL
    http://
  • ICQ
    0

Profile Information

  • Gender
    Male
  • Location
    Türkiye
  • Interests
    Cycle,<br />Control Algorithm,<br />Build :)
  1. I write for PIC18 series... /******************************************************************************* Written & Developer : Erol YILMAZ Start .............. : 23.April.2010 Update ............. : 25.April.2010 Operating System.... : SourceBoost Novo Program Name ....... : ErOS_eeprom.h Target MCU ......... : PIC18 Series Compiler ........... : SourceBoost C Compiler v6.96 PIC18F4423 için yazıldı. PIC16 serisine de uyarlanabilir... ...You can use with... #include "ErOS_eeprom.h" *******************************************************************************/ typedef bit BOOLEAN; typedef unsigned char INT8U; typedef signed char INT8S; typedef unsigned int INT16U; typedef signed int INT16S; typedef unsigned long INT32U; typedef signed long INT32S; /******************************************************************************* * E.r.O.S. eepromRead() *******************************************************************************/ INT8U eepromRead(INT8U adres){ eeadr = adres; eecon1.EEPGD = 0; eecon1.CFGS = 0; eecon1.RD = 1; return(eedata); } /******************************************************************************* * E.r.O.S. eepromWrite() *******************************************************************************/ void eepromWrite(INT8U adres, INT8U sayi){ #define MAX_TRY 5 INT8U intconBackup; for(INT8U i=0; i<MAX_TRY; i++){ intconBackup = intcon; eeadr = adres; eedata = sayi; eecon1.EEPGD = 0; eecon1.CFGS = 0; eecon1.WREN = 1; intcon.GIE = 0; eecon2 = 0x55; eecon2 = 0xAA; eecon1.WR = 1; intcon = intconBackup; eecon1.WREN = 0; while(eecon1.WR) clear_wdt(); if(sayi == eepromRead(adres)) return; } //ERROR_STATE |= ERROR_INT_EEPROM; return; }
  2. Hi, I want Time measurement between A...B point at a TASK. I think, i must write at A point; timer_last = SysGetTime() i must write at B point; timer_diff = SysGetElapsedTime(timer_last); I am Right Think ???
  3. Allegro

    My Code Dont Start Up...

    Thanks David, Yes, i wrong make for this CONFIGURATION BITS... ----------------------------------------------------------------- And i start new project from EXAMPLES... i dont have any problem for NOW I continue...
  4. Hi, My code dont start up... i set a semaphore when new start. Buzzer task is must make a BEEEP for answer. But i dont see any thing... AND my compiler is say : WARNING: Overlapping user DATA at address : 0x0030000C Circuit is working with my old code... ( mean circuit dont have any problem ) I want make with Novo... What i make wrong ? Thanks... RT_1.rar
  5. Allegro

    Mplab Ide V8.0

    yes working also with MPLAB 8.46
  6. Allegro

    Novo Interesting State....

    Simulator : Proteus Isis 7.4 sp3
  7. Allegro

    Novo Interesting State....

    i edit my code... And right work now. Mcu : PIC16F887 This problem from Simulator? I want find root cause. THANKS...
  8. Allegro

    Novo Interesting State....

    i remove Sys_yield() function... but dont change...
  9. I live interesting state with Novo... 1. Code : outputs are different port and NOT PROBLEM 2. Code : outputs are same port and THERE IS PROBLEM!!! Why 2. Output is different from 1 ? And what can i do for right work... ? Thanks... Allegro Novo_Support_1.zip
×