Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 15 matches
www.mcselec.com Forum Index
Author Message
  Topic: Variable problem with interupt
AIVA

Replies: 6
Views: 433

PostForum: BASCOM-AVR   Posted: Wed Jan 11, 2017 10:55 pm   Subject: Variable problem with interupt
$regfile = "M32def.dat"
$crystal = 14745600

$hwstack = 34
$swstack = 34
$framesize = 34

Dim A0 As Word
Dim P4 As Word
Dim K0 As Word
Dim P5 As Word
Dim T0 As Word
Dim V1 As Sin ...
  Topic: Variable problem with interupt
AIVA

Replies: 6
Views: 433

PostForum: BASCOM-AVR   Posted: Wed Jan 11, 2017 10:28 pm   Subject: Variable problem with interupt
The code is just a small part of the original program
When K0> P5 then k0 value is reset and the program performs other functions
The question is how sometime k0> P5 when the K0 value reaches ...
  Topic: Variable problem with interupt
AIVA

Replies: 6
Views: 433

PostForum: BASCOM-AVR   Posted: Wed Jan 11, 2017 2:52 pm   Subject: Variable problem with interupt
Hello
I have a problem with the management of a variable
in the example below the variable K0 is increased by interrupt timer0 and when k0> P5 active a job.
Sometimes the active even if K0 does ...
  Topic: Kokkekat SD card file delete
AIVA

Replies: 0
Views: 681

PostForum: KokkeKat FAT-free SD card lib   Posted: Thu Jan 21, 2016 8:27 pm   Subject: Kokkekat SD card file delete
Hello

Some one know how delete file with Kokkekat SD card ?

Thanks,
  Topic: Serial Buffer problem
AIVA

Replies: 0
Views: 194

PostForum: BASCOM-AVR Unsupported versions   Posted: Mon Dec 09, 2013 11:01 pm   Subject: Serial Buffer problem
Hello

I have make many application with RS232 and all run O.K.
but with a new project have a problem

Send out string of characters and run o.k. but sometime
the last character stay in the ...
  Topic: Ramtron Questions
AIVA

Replies: 18
Views: 2950

PostForum: BASCOM-AVR Archive   Posted: Fri Jun 24, 2011 12:36 pm   Subject: Ramtron
Hello

I use RAMTRON FM31278-g with serial I2C and run very good as memory and real time clock, the problem is that no more delivery about this component.

Best Regards,
  Topic: Compile error
AIVA

Replies: 0
Views: 141

PostForum: BASCOM-AVR Archive   Posted: Fri Sep 24, 2010 1:16 pm   Subject: Compile error
Hello

I have a strange problem

compile a program on Desktop (BASCOM 1.11.8.3 - 1.11.9.3 Compiler) and everything is OK

install BASCOM on Laptop with the original CD and tried compiling the sa ...
  Topic: HCTL1100 motion control
AIVA

Replies: 0
Views: 332

PostForum: BASCOM-AVR Archive   Posted: Tue Nov 17, 2009 9:06 pm   Subject: HCTL1100 motion control
Hello

I'm trying to develop a library for controlling a hctl1100 with mega128, someone has some sample code?


Thanks,

Gigi
  Topic: large file transfer problem
AIVA

Replies: 0
Views: 182

PostForum: BASCOM-AVR Archive   Posted: Sun May 17, 2009 2:17 pm   Subject: large file transfer problem
Hello

I use Mega 128 / Bascon 1.11.9.3
I have a problem when download the .hex file to mega128 with Hyper terminal
With ROMIMAGE under 65535 dec the transfer go O.K. but when ROMIMAGE up 65535 de ...
  Topic: SPIOUT problem with SS signal
AIVA

Replies: 2
Views: 298

PostForum: BASCOM-AVR Archive   Posted: Sat Mar 07, 2009 6:21 pm   Subject: SPIOUT problem with SS signal
Hi Evert

Thank for your answer, I have try to set the SS pin manually when use SPI (Noss=1) but same problem, now I try to upgrade my bascom version to last release.


Gigi
  Topic: SPIOUT problem with SS signal
AIVA

Replies: 2
Views: 298

PostForum: BASCOM-AVR Archive   Posted: Sat Mar 07, 2009 4:10 pm   Subject: SPIOUT problem with SS signal
Hello !

I have found a problem

I use mega32 connect to SPI device and when I tx some data all is ok, but when I send many data toghether the pin 5 (SS) stay low and the programm stop


...
  Topic: TWI slave problems
AIVA

Replies: 6
Views: 809

PostForum: BASCOM-AVR Archive   Posted: Wed Jan 07, 2009 10:34 pm   Subject: TWI slave problems
Hello Matrixx

In have fix the problem

I have connect 2 pins on master and slave
before send twi data the master set the pin on slave and the slave stop
the job and wait twi data
After th ...
  Topic: TWI slave problems
AIVA

Replies: 6
Views: 809

PostForum: BASCOM-AVR Archive   Posted: Tue Jan 06, 2009 6:31 pm   Subject: TWI slave problems
Hello Matrixx

Thanks for your answer

program:

do
"RX data from external device with RS485"
if F1=0 and F2=0 then "show data on graphic display"
"when Master call with TWI, read ...
  Topic: TWI slave problems
AIVA

Replies: 6
Views: 809

PostForum: BASCOM-AVR Archive   Posted: Mon Jan 05, 2009 3:50 pm   Subject: TWI slave problems
Hello


I am try to use TWI slave library with 2 MEGA128 and have found some problem

1) I send from Master device to Slave 23 byte that arrived right on Slave but if
insert instruction to read ...
  Topic: Graphic 240*128 on port F
AIVA

Replies: 3
Views: 374

PostForum: BASCOM-AVR Archive   Posted: Sat Nov 29, 2008 7:40 pm   Subject: Graphic 240*128 on port F
Hi

I use Mega128 with port B and C and all run O.K.
Now I must use port F but some people said that is no possible to use
is true ?

Thanks,
 
Page 1 of 1
All times are GMT + 1 Hour
Jump to: