Author |
Message |
Topic: why the Sleep does not? |
abracadabra
Replies: 13
Views: 1208
|
Forum: BASCOM-AVR Posted: Tue Jan 27, 2015 12:35 pm Subject: why the Sleep does not? |
Evert thank you: your clear and simple explanations, they, have fought against my ignorance.
I will say nothing of others, whom I thank however.
my problem is solved. |
Topic: why the Sleep does not? |
abracadabra
Replies: 13
Views: 1208
|
Forum: BASCOM-AVR Posted: Mon Jan 26, 2015 9:43 am Subject: why the Sleep does not? |
MWS I understand that you never do forget (Maybe?). No need to insult me to tell me that it lacks a reading MCUCR.
Learn to read the datasheet 'Register summary' (page 214) and you will understand t ... |
Topic: why the Sleep does not? |
abracadabra
Replies: 13
Views: 1208
|
Forum: BASCOM-AVR Posted: Sun Jan 25, 2015 7:36 pm Subject: why the Sleep does not? |
I changed my main routine:
Do
Incr A
Locate 1 , 1
Lcd A ; " "
sbr R16 , Se 'SLEEP authorization
!out mcucr,r16
nop
sle ... |
Topic: why the Sleep does not? |
abracadabra
Replies: 13
Views: 1208
|
Forum: BASCOM-AVR Posted: Sun Jan 25, 2015 3:09 pm Subject: why the Sleep does not? |
HI!...
all in the question ...
' CONFIGURATION PLATINE Tiny2313
$regfile = "ATtiny2313.dat"
$crystal = 8000000
$hwstack = 16 ' default use 32 for the ... |
Topic: error with Aliases |
abracadabra
Replies: 2
Views: 397
|
Forum: BASCOM-AVR Archive Posted: Sun Jun 01, 2014 9:22 pm Subject: error with Aliases |
Thank you very much.
Now it's ok. |
Topic: error with Aliases |
abracadabra
Replies: 2
Views: 397
|
Forum: BASCOM-AVR Archive Posted: Sun Jun 01, 2014 3:33 pm Subject: error with Aliases |
Hi.
I wrote the beginning of the program:
$regfile = "m32def.dat"
Lcdport Alias Portc
R_s Alias Portc.4
E_e Alias Portc.5
D_b4 Alias Portc.0
D_b5 Alias Portc.1
D_b6 Alias Portc ... |
Topic: bad implantation |
abracadabra
Replies: 4
Views: 208
|
Forum: BASCOM-AVR Archive Posted: Mon Nov 18, 2013 5:52 pm Subject: bad implantation |
Everything is normal now.
I was administrator. But I did not reboot ..
My antivirus is automatic.
Thanks.
Jean Michel |
Topic: bad implantation |
abracadabra
Replies: 4
Views: 208
|
Forum: BASCOM-AVR Archive Posted: Sun Nov 17, 2013 2:32 pm Subject: bad implantation |
After three new delete + locations, it works ... |
Topic: bad implantation |
abracadabra
Replies: 4
Views: 208
|
Forum: BASCOM-AVR Archive Posted: Sun Nov 17, 2013 12:54 pm Subject: bad implantation |
Hello.
I am running Windows 7.
I put BASCOM 2.0.7.5 demo on a new hard drive (the old one is dead). From the beginning, there is error: see attachment
I removed and reinstalled BASCOM. Still the s ... |
Topic: DAC unnecessary |
abracadabra
Replies: 9
Views: 594
|
Forum: BASCOM-AVR Archive Posted: Wed Apr 10, 2013 8:35 am Subject: DAC unnecessary |
0805 or 0603 on the pins are a great idea. This is the solution.
thank you very much. |
Topic: DAC unnecessary |
abracadabra
Replies: 9
Views: 594
|
Forum: BASCOM-AVR Archive Posted: Mon Mar 25, 2013 9:34 am Subject: DAC unnecessary |
Thanks for your answers.
Good week.
JM |
Topic: DAC unnecessary |
abracadabra
Replies: 9
Views: 594
|
Forum: BASCOM-AVR Archive Posted: Sun Mar 24, 2013 7:41 pm Subject: DAC unnecessary |
Hi.
On a model glider I use a Atmega8A.
I do not use the DAC. Can I connect directly to VDD AVCC? and AREF to GND?
(To avoid unnecessary component, avoid weight and space saving).
Thank you.
(BAS ... |
Topic: bad reading? |
abracadabra
Replies: 17
Views: 351
|
Forum: BASCOM-AVR Archive Posted: Thu Jan 31, 2013 6:57 pm Subject: bad reading? |
Viele, viele Danke!
The loop is missing.
For gIFr.intf0, your explanation is very clear.
You have taught me something today.
For stability, I have added some NOPs after each register.
Noch ei ... |
Topic: bad reading? |
abracadabra
Replies: 17
Views: 351
|
Forum: BASCOM-AVR Archive Posted: Thu Jan 31, 2013 4:07 pm Subject: bad reading? |
Danke schön laborratte .
1) I replaced the LCD with a simple LED flashing.
2) I place a synchronization with the CD4072 (bitwait pind.2, set).
Result: still an internal loop in the interrupt ro ... |
Topic: bad reading? |
abracadabra
Replies: 17
Views: 351
|
Forum: BASCOM-AVR Archive Posted: Thu Jan 31, 2013 10:49 am Subject: bad reading? |
The problem is not reading the port.
I do this test:
in the interrupt routine I remove all instructions PORTB, PINB, DDRB.
I put a small delay (debounce).
The pressing a button then causes the ... |
|