Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 1212 matches
www.mcselec.com Forum Index
Author Message
  Topic: Set Reset problem
Paulvk

Replies: 3
Views: 453

PostForum: BASCOM-AVR Archive   Posted: Sat Jan 01, 2011 5:05 am   Subject: Set Reset problem
I was turning some relays off and on but found that one would only SET it would not RESET here is the code

Config Pinb.2 = Output
Config Pind.6 = Output
Config Pind.7 = Output ...
  Topic: wait instruction issue in attiny13
Paulvk

Replies: 13
Views: 1495

PostForum: BASCOM-AVR Archive   Posted: Sat Jan 01, 2011 12:06 am   Subject: wait instruction issue in attiny13
Shark since this was a loop I would have used
Do
---
Loop

and actually am with a mega168
  Topic: Problem with 2.0.1.0 and Mega 2561?
Paulvk

Replies: 16
Views: 1367

PostForum: BASCOM-AVR Archive   Posted: Tue Dec 28, 2010 10:40 pm   Subject: Problem with 2.0.1.0 and Mega 2561?
I can not see why you are running the clock that way I just used

Clock Alias Portb.1 'also LCD clock

Outpin Alias Portb.0 'this is both data in and out I fo ...
  Topic: PCINT Interrupts how to use?
Paulvk

Replies: 14
Views: 1936

PostForum: BASCOM-AVR Archive   Posted: Tue Dec 28, 2010 10:02 am   Subject: PCINT Interrupts how to use?
This has the interrupt working for a 0 to 1 transition and the bits I want are 1,2,3,4 as I used 0 as the pin change a re-do of the hardware would get rid of the mirror bits but what the heck I have ...
  Topic: PCINT Interrupts how to use?
Paulvk

Replies: 14
Views: 1936

PostForum: BASCOM-AVR Archive   Posted: Tue Dec 28, 2010 8:02 am   Subject: PCINT Interrupts how to use?
Ok that confirms what I suspected after reading through the data sheets and bascom (a number of times) yes I have masked the interrupt, I did not use one of the normal interrupts as I did not want to ...
  Topic: PCINT Interrupts how to use?
Paulvk

Replies: 14
Views: 1936

PostForum: BASCOM-AVR Archive   Posted: Tue Dec 28, 2010 7:21 am   Subject: PCINT Interrupts how to use?
Ok I have the pin change interrupt working (PCINT8) but how do I get it to respond only to a rising change ie logic 0 to 1 but not when it goes back 1 to 0 again.
  Topic: olimex avr-isp500 (OK)
Paulvk

Replies: 3
Views: 517

PostForum: BASCOM-AVR Archive   Posted: Fri Dec 24, 2010 11:58 am   Subject: olimex avr-isp500 (OK)
I use the STK500 native driver for my device which is STK500-2 compatable.

This is the one I built but I made it RS232 and use a USB to RS232 cable so that I also got an RS232 port on the computer ...
  Topic: completely off topic
Paulvk

Replies: 19
Views: 1780

PostForum: BASCOM-AVR Archive   Posted: Fri Dec 24, 2010 10:31 am   Subject: completely off topic
Merry Xmas to all from the south coast of NSW Australia here the forecast is 27c possible showers, so thats 42c diffrence at the other end of the earth, my beach is to be seen here http://www.callalan ...
  Topic: PCINT Interrupts how to use?
Paulvk

Replies: 14
Views: 1936

PostForum: BASCOM-AVR Archive   Posted: Thu Dec 23, 2010 12:17 pm   Subject: PCINT Interrupts how to use?
When I get this hardware to work I will post the whole program. I am trying to respond to a DTMF decoder when it has a lock on a tone pair. As I can do this in a loop I will do it that way as an examp ...
  Topic: PCINT Interrupts how to use?
Paulvk

Replies: 14
Views: 1936

PostForum: BASCOM-AVR Archive   Posted: Thu Dec 23, 2010 12:05 pm   Subject: PCINT Interrupts how to use?
So looking at the example

Enable Interrupts 'enable global ints
Enable Pcint0 'we enable pcint0 as this has ...
  Topic: PCINT Interrupts how to use?
Paulvk

Replies: 14
Views: 1936

PostForum: BASCOM-AVR Archive   Posted: Thu Dec 23, 2010 11:45 am   Subject: PCINT Interrupts how to use?
Did not see that! I have been going through the help trying to work it out I will have a look at the example and see if I can work it out thank you for the pointer (again!)

regards Paul
  Topic: PCINT Interrupts how to use?
Paulvk

Replies: 14
Views: 1936

PostForum: BASCOM-AVR Archive   Posted: Thu Dec 23, 2010 11:18 am   Subject: PCINT Interrupts how to use?
I want to use PCINT8 as an Interrupt but am having a hard time finding some sort of example on how to use these sort of Interrupts in Bascom I can find little bits but not a step by step example that ...
  Topic: Artificial Intelligence? (AI)
Paulvk

Replies: 30
Views: 3980

PostForum: BASCOM-AVR Archive   Posted: Wed Dec 22, 2010 8:22 am   Subject: Artificial Intelligence? (AI)
Hi Per,
When Mark Alberts releases his ARM version, then it could progress to that.
Hubert

I know I will buy it and so I think will many others, hope he sells heaps!
  Topic: Strange thing happening with Commenting
Paulvk

Replies: 2
Views: 333

PostForum: BASCOM-AVR Archive   Posted: Thu Dec 02, 2010 11:16 am   Subject: Strange thing happening with Commenting
Ok bit more .. If I place a comment by using " ' " then type text after it all ok but if I want to just comment out some code I have to hit another key after " ' " to get it to work now if I cut and ...
  Topic: Strange thing happening with Commenting
Paulvk

Replies: 2
Views: 333

PostForum: BASCOM-AVR Archive   Posted: Thu Dec 02, 2010 11:04 am   Subject: Strange thing happening with Commenting
When I use the " ' " to place comments it does not appear but then if I hit it a second time two appear even stranger if I move the cursor to another line then hit it the second time they both appear ...
 
Page 80 of 81 Goto page Previous  1, 2, 3 ... , 79, 80, 81  Next
All times are GMT + 1 Hour
Jump to: