Jump to content

Recommended Posts

Dear members can anyone tell me the compiler that was used to compile this source,

#include ''siren.h''

#define TONE_PIN PIN_A0

#bit TOIE=0x0b,5

int select_tone_pattern();

void change_tone_style();

 

enum status{count_up,flat,count_down,silent};

byte tone_pattern[4],tone_pattern_ptr=0,tone_pattern_count[4],tone_pattern_freq[4];

byte set_time_count=120,tone_style,cycle_count,pre_level;

byte freq_count=0,reset_timer_count;

byte timer_count=0;

byte inportb;

 

void main()

 

set_tris_a(0xfd);

set_tris_b(0xff);

 

cycle_count=10;

tone_style=flat;

#ifndef debug

port_b_pullups(FALSE);

setup_timer_0(RTCC_INTERNAL:RTCC_DIV_4);

#else

 

 

etc.

this a source code for siren and it uses pic16f84,

i will be greatful if a member can tel me the compiler used for this.

Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...