Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 661 matches
www.mcselec.com Forum Index
Author Message
  Topic: Select case from too..ATinny13
EDC

Replies: 2
Views: 361

PostForum: BASCOM-AVR Archive   Posted: Fri Jun 13, 2014 7:34 pm   Subject: Select case from too..ATinny13
Laughing I`m blinded... Even in help wrote from -5 to -2 so.. value can only grow Thanks
  Topic: Select case from too..ATinny13
EDC

Replies: 2
Views: 361

PostForum: BASCOM-AVR Archive   Posted: Fri Jun 13, 2014 7:04 pm   Subject: Select case from too..ATinny13
My curiosity tells me to ask why this code does not work for ATtinny13.
I also tried to write a single line. Colon and without..

$regfile = "attiny13.dat"
$crystal = 1200000
$hwstack ...
  Topic: Help with PCINT10 on ATMEGA324a
EDC

Replies: 5
Views: 524

PostForum: BASCOM-AVR Archive   Posted: Sat Jun 07, 2014 10:24 pm   Subject: Help with PCINT10 on ATMEGA324a
Sometimes i wrote something and then think Rolling Eyes
In this case maybe config is needed http://wiki.mcselec.com/bavr/CONFIG_INTX
  Topic: Help with PCINT10 on ATMEGA324a
EDC

Replies: 5
Views: 524

PostForum: BASCOM-AVR Archive   Posted: Sat Jun 07, 2014 9:58 pm   Subject: Help with PCINT10 on ATMEGA324a
What is "PCINT" in Bascom?
Possible interrupts here http://wiki.mcselec.com/bavr/ENABLE
Maybe INT1 is what You looking for.

I think "PCINT" is only on the schematic
  Topic: LCD KS0108 - cursor blink
EDC

Replies: 2
Views: 537

PostForum: BASCOM-AVR Archive   Posted: Tue May 27, 2014 9:46 pm   Subject: LCD KS0108 - cursor blink
Read this, and try. http://wiki.mcselec.com/bavr/CONFIG_GRAPHLCD

and for "blinkin value" I use this "trick"


dim Blink_ as Bit
dim Value as Byte

Do
'period~500ms
Blink_ = Not Blink_


...
  Topic: Check Syntax in IDE
EDC

Replies: 2
Views: 280

PostForum: BASCOM-AVR Unsupported versions   Posted: Sun May 25, 2014 8:07 pm   Subject: Check Syntax in IDE
A few days ago talking about this. In Options->Enviroment->IDE -> just uncheck box "Autosave on compile" then compiler ask for new name for the file.
  Topic: Using Internal EEPROM
EDC

Replies: 3
Views: 474

PostForum: BASCOM-AVR Archive   Posted: Fri May 23, 2014 8:15 am   Subject: Using Internal EEPROM
$EEPROM generate separate file for program chip eeprom.
http://wiki.mcselec.com/bavr/$EEPROM
Maybe this depends on the programmer you use to automatical load eeprom content to it.
After compile I ...
  Topic: str
EDC

Replies: 5
Views: 370

PostForum: BASCOM-AVR Archive   Posted: Wed May 21, 2014 6:28 pm   Subject: str
When I never hear about Str2digits I write little program for decode from that egsample string :
$GPGGA,183730,3907.356,N,12102.482,W,1,05,1.6,646.4,M,-24.1,M,,*75
only 4 Digits for clock with mu ...
  Topic: str
EDC

Replies: 5
Views: 370

PostForum: BASCOM-AVR Archive   Posted: Wed May 21, 2014 2:22 pm   Subject: str
I think found the solution Very Happy
Try to use Cls on simulator to Very Happy
  Topic: send 8 byte in bus can
EDC

Replies: 2
Views: 478

PostForum: BASCOM-AVR Archive   Posted: Sat May 17, 2014 6:15 pm   Subject: send 8 byte in bus can
I think so Samples is not enough to undrstand everything Razz
I always read WIKI
You should too
http://wiki.mcselec.com/bavr/CONFIG_CANBUS
http://wiki.mcselec.com/bavr/CANSEND

For A=1 to 8
Bok= ...
  Topic: problem with send single variable to spi bus
EDC

Replies: 5
Views: 453

PostForum: BASCOM-AVR Archive   Posted: Tue May 13, 2014 8:24 pm   Subject: problem with send single variable to spi bus
Read this http://wiki.mcselec.com/bavr/CONFIG_SINGLE

Maybe You dont need this in the master uC. Try send without this option.
Also You can convert it to String or if you have eg. 2 digits after d ...
  Topic: ELF File and Bascom
EDC

Replies: 9
Views: 711

PostForum: BASCOM-AVR Archive   Posted: Sat May 10, 2014 8:42 am   Subject: ELF File and Bascom
I answear in this topic but my post is been removed because link..
I try once again another way Very Happy and no links Wink
In AvrDude is exactly the same method - all parameters to program are in command wh ...
  Topic: need help
EDC

Replies: 19
Views: 1686

PostForum: BASCOM-AVR   Posted: Fri May 09, 2014 5:28 pm   Subject: need help
How You drive Lamp, Blower and Heater 0V or 5V (depends of hardware, You must know..) Relays trough transistor, ULN2003 or MOSFET?
In code You can change Waitms 1500 to Wait 2 , read all values from ...
  Topic: need help
EDC

Replies: 19
Views: 1686

PostForum: BASCOM-AVR   Posted: Fri May 09, 2014 2:30 pm   Subject: need help
Try in the beggining of program Config and set ports.

For eg.

Config Portb = &B00011010 : Portb = &B11111111
Config Portd = &B01000000 : Portd = &B10111111
Config Porta ...
  Topic: Reading content of variable with terminal? How?
EDC

Replies: 18
Views: 715

PostForum: BASCOM-AVR Archive   Posted: Thu May 08, 2014 10:34 pm   Subject: Reading content of variable with terminal? How?
Man, what about thinking? This is from link in one of answears

<ESC> represents the ASCII "escape" character, 0x1B. Bracketed tags represent modifiable decimal parameters; eg. {ROW} would be ...
 
Page 43 of 45 Goto page Previous  1, 2, 3 ... 42, 43, 44, 45  Next
All times are GMT + 1 Hour
Jump to: