Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 71 matches
www.mcselec.com Forum Index
Author Message
  Topic: Structure Type ... End Type
krolikbest

Replies: 24
Views: 1847

PostForum: Various   Posted: Thu Jan 24, 2019 10:53 am   Subject: Structure Type ... End Type
Please give on a page a paypay account or how to donate.
Thank you for a Bascom
  Topic: Structure Type ... End Type
krolikbest

Replies: 24
Views: 1847

PostForum: Various   Posted: Sun Jan 20, 2019 11:46 am   Subject: Structure Type ... End Type
I back up it too! Smile
  Topic: servo with quadrature encoder with duino board
krolikbest

Replies: 1
Views: 413

PostForum: BASCOM-ARDUINO   Posted: Tue Nov 20, 2018 2:27 pm   Subject: servo with quadrature encoder with duino board
Thread to close. Simply have changed servo controller to dedicated one and problems disappeared.
  Topic: servo with quadrature encoder with duino board
krolikbest

Replies: 1
Views: 413

PostForum: BASCOM-ARDUINO   Posted: Mon Nov 19, 2018 7:05 pm   Subject: servo with quadrature encoder with duino board
Hello

it is not strictly to Bascom although code was written in Bascom. I ask because maybe someone had similar issue? Below short description:
Some time ago have bought from China small servo wi ...
  Topic: Apds 9960
krolikbest

Replies: 2
Views: 1604

PostForum: Share your working BASCOM-AVR code here   Posted: Wed Oct 24, 2018 8:03 pm   Subject: Apds 9960
I programmed it as an gesture sensor. The goal is to guess in wich direction my hand goes and send it to the game.
Thank for comments. I hope that maybe someone will improve this code in Bascom and ...
  Topic: Apds 9960
krolikbest

Replies: 2
Views: 1604

PostForum: Share your working BASCOM-AVR code here   Posted: Wed Oct 24, 2018 3:20 pm   Subject: Apds 9960
Hello,

this time I'd like to share my code (as an attachment) relatives to gesture sensor. I focused on four directions: left, right, up, down. So far I've not done near/far gestures but having a ...
  Topic: math calculations
krolikbest

Replies: 0
Views: 288

PostForum: BASCOM-AVR Unsupported versions   Posted: Wed Oct 17, 2018 3:42 pm   Subject: math calculations
Hello

I have such equation - C notation

ud_ratio_first = ((u_first - d_first) * 100) / (u_first + d_first);


and would like to write the same in Bascom but somehow I ...
  Topic: APDS 9930
krolikbest

Replies: 1
Views: 423

PostForum: Share your working BASCOM-AVR code here   Posted: Fri Oct 05, 2018 10:09 pm   Subject: APDS 9930
Hello

below i attach my code for apds 9930 (light sensor/proximity sensor). Feel free to use it but no guarantee that works Wink BTW. my device (red surfaced one) has extra pin described as a VL. I'v ...
  Topic: apds 9930
krolikbest

Replies: 2
Views: 252

PostForum: BASCOM-AVR   Posted: Mon Oct 01, 2018 5:44 pm   Subject: apds 9930
Ok, I get it. After your explanation datasheet seems very clear now. As a proof attach reading id number


I2cstart
I2cwbyte Addr_w 'slave i2c addres
I2cwbyte &HB2 'CMD+type+register ...
  Topic: apds 9930
krolikbest

Replies: 2
Views: 252

PostForum: BASCOM-AVR   Posted: Mon Oct 01, 2018 8:19 am   Subject: apds 9930
Hello,

I'm looking for someone who did try or still is struggling to write (in bascom of course) a program for apds 9930. It is gesture/light ambient/proximity wonderful device. So far I can read ...
  Topic: pn532 with bascom
krolikbest

Replies: 6
Views: 385

PostForum: BASCOM-AVR   Posted: Sat Sep 08, 2018 9:04 pm   Subject: pn532 with bascom
Thanks Smile
  Topic: pn532 with bascom
krolikbest

Replies: 6
Views: 385

PostForum: BASCOM-AVR   Posted: Sat Sep 08, 2018 8:33 pm   Subject: pn532 with bascom
I did simply program to collect datas from pn532. Under this link https://www.youtube.com/watch?v=vNiot0elisQ you may see it.

Regards
  Topic: pn532 with bascom
krolikbest

Replies: 6
Views: 385

PostForum: BASCOM-AVR   Posted: Sun Sep 02, 2018 10:00 am   Subject: pn532 with bascom
Hi,

It shames me to say, but I do not want to think about it. The point is (from a pn532 manual):


- LEN 1 byte indicating the number of bytes in the data field
(TFI and PD0 to PDn),
- LCS 1 ...
  Topic: pn532 with bascom
krolikbest

Replies: 6
Views: 385

PostForum: BASCOM-AVR   Posted: Sat Sep 01, 2018 7:22 pm   Subject: pn532 with bascom
I did today reading rf-cards in pn532, here the link
$regfile = "m328pdef.dat"
$crystal = 16000000
$baud = 115200 ' use baud rate
$hwstack = ...
  Topic: card reader
krolikbest

Replies: 12
Views: 640

PostForum: BASCOM-AVR   Posted: Tue Aug 28, 2018 1:33 pm   Subject: card reader
Hello,

I think that you should send an array of bytes, instead of string. Look below:

printbin array_of_bytes(1), N

where you start from 1-st byte and N is cout of bytes. Array might look lik ...
 
Page 3 of 5 Goto page Previous  1, 2, 3, 4, 5  Next
All times are GMT + 1 Hour
Jump to: