Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 26 matches
www.mcselec.com Forum Index
Author Message
  Topic: Windows 8.1 Arduino en Bascom
drejansen

Replies: 3
Views: 986

PostForum: BASCOM-ARDUINO   Posted: Thu Sep 25, 2014 1:01 pm   Subject: Windows 8.1 Arduino en Bascom
Geacht Forum, (English below)

Ik had problemen met de communicatie tussen Bascom en Arduino.
Nadat ik WINAVR had geinstalleerd werkte het wel.
Volgens Mark heeft dat er niets mee te maken, dus ...
  Topic: Translating C code to Bascom-AVR
drejansen

Replies: 4
Views: 443

PostForum: BASCOM-AVR Archive   Posted: Thu Apr 25, 2013 9:33 pm   Subject: Re: Translating C code to Bascom-AVR
[quote="rabiuls"]Hello all,
I am not good in C language, and there are many examples in C. I try to understand or convert the code. For now can someone please tell me how to convert/translate C bit o ...
  Topic: use several ports and/or PWM's in a loop
drejansen

Replies: 10
Views: 409

PostForum: BASCOM-AVR Archive   Posted: Sat Aug 25, 2012 11:01 am   Subject: use several ports and/or PWM's in a loop
Hi Members,

Finally I solved the problem, or must I say challenge.

For who wants to know, here is the
' AnalogWriteMega
$regfile = "m328pdef.dat"
$crystal = 16000000
$baud = 960 ...
  Topic: use several ports and/or PWM's in a loop
drejansen

Replies: 10
Views: 409

PostForum: BASCOM-AVR Archive   Posted: Sun Aug 19, 2012 12:45 pm   Subject: use several ports and/or PWM's in a loop
Hi MWS,

You are right, I am just a beginner, and have a lot to learn.
I will do as you suggest 1st read about the hardware and 2nd looking for a teacher.
  Topic: use several ports and/or PWM's in a loop
drejansen

Replies: 10
Views: 409

PostForum: BASCOM-AVR Archive   Posted: Sun Aug 19, 2012 10:45 am   Subject: use several ports and/or PWM's in a loop
Hi MWS,

This is like the answer Albert gave me, that works perfect.
How do I the same with the PWM channels? The number in the keyword is IN the string (PWM2B).

I tried it with the look-up met ...
  Topic: use several ports and/or PWM's in a loop
drejansen

Replies: 10
Views: 409

PostForum: BASCOM-AVR Archive   Posted: Sat Aug 18, 2012 9:49 pm   Subject: use several ports and/or PWM's in a loop
Hi MWS,

Thanks for your response, but the question is: HOW?
Can you give me an example for pronouncing the ports and pwms
Later I will work on the fading itself.
  Topic: use several ports and/or PWM's in a loop
drejansen

Replies: 10
Views: 409

PostForum: BASCOM-AVR Archive   Posted: Sat Aug 18, 2012 12:25 pm   Subject: use several ports and/or PWM's in a loop
hoi Albert,
hartelijk dank, het werk!
nu de volgende stap
This code comes from the Arduino examples: Mega analogWrite() test
This sketch fades LEDs up and down one at a time on digital ...
  Topic: use several ports and/or PWM's in a loop
drejansen

Replies: 10
Views: 409

PostForum: BASCOM-AVR Archive   Posted: Sat Aug 18, 2012 9:02 am   Subject: use several ports and/or PWM's in a loop
Dear forum,

The problem:
I want to rename ports in a for-next loop, but it does not work.
How can I do it?
Not working code:

Lamp1 alias portb.1
Lamp2 alias portb.2
Etc.
For n=1 to 10
...
  Topic: Adruino goes Bascom
drejansen

Replies: 1
Views: 457

PostForum: Various   Posted: Sun Aug 12, 2012 4:38 pm   Subject: Adruino goes Bascom
Hi fellows,

I read something about wait instructions
There is wait; waitms and even waitus for waits micro seconds
I tried the waitus commando, bud it does not work in arduino.
The compiler ...
  Topic: Muziek maken Arduino goes Bascom ToneMelody
drejansen

Replies: 2
Views: 182

PostForum: BASCOM-AVR Archive   Posted: Sat Aug 04, 2012 6:57 pm   Subject: musical Arduino
Hi JP,

Very much thanks!! It works perfect.
I tried to do it with the sound commando, but I could not produce the right tones.
Until someone said to me that it was done with PWM.
It is the soun ...
  Topic: Muziek maken Arduino goes Bascom ToneMelody
drejansen

Replies: 2
Views: 182

PostForum: BASCOM-AVR Archive   Posted: Fri Aug 03, 2012 10:12 pm   Subject: Muziek maken Arduino goes Bascom ToneMelody
Dear forum,

Arduino goes Bascom, and I reached example ToneMelody
This program plays a simple melody
The tone comes from D8 it is atmega port B0
The music is made by PWM, but PWM changes only th ...
 
Page 2 of 2 Goto page Previous  1, 2
All times are GMT + 1 Hour
Jump to: