Right now I have a small table top robot with hacked servo motors. I also would like to use this with the battle bot that uses victor speed controlers. They...
Try this, I didn't test it yet but I think it will work. ' Pulse value sent to servos Dim Left_Servo_Val As Integer Dim Right_Servo_Val As Integer ' Your...
... I've simplified both the BX-24 and FPU code in this FPU Function Timing Tool code example. The sample µM-FPU code includes both 2x2 and 3x3 matrix...
Hi Tom, I am really interested in doing matrix inversions with the BasicX, particularly of 4x4 matrices and greater for systems identification and optimization...
... No, I wrote the 2x2 and 3x3 inversions in the example. I suspect you'll need to put an algorithm together using its native matrix-handling instructions,...
hello there....i am just wonderin..is there anybody who has made any inverted pendulum controlled with the bx-24?i am new in basicx and i will be very greatful...
hello anyone, has this happened to you? BasicX downloader v 2.1...I/O Ports...ATN Diagnostic... set ATN pin high, voltage between pins 3 & 4 (24p) is about one...
I'm working on one, but it isn't done yet. I am using a gyro and accelerometer to measure the angle, the biggest challenges right now are that the inverse...
Why does the following procedure produce a syntax error? Any idea anyone. Thank-you for your time! Option Explicit Dim OutputBuffer(1 To 30) As Byte Dim...
... I think your error is in the previous line, which should be Public Sub CreateFile [...]. I think you defined a string named CreateFile, but that syntax...
You have several mistakes: Most important, your program needs a Main procedure. Add the lines: Public Sub Main() Call CreateFile( << File Name here >> ) End...
This looks like a bug in the compiler. This same code in the Main sub compiles fine: Option Explicit Dim OutputBuffer(1 To 30) As Byte Dim InputBuffer(1 To 13)...
... It's a common mistake to leave out or mispell something like that. For future reference, when the compiler complains about a line of code that looks...
hello there...cause i am new with bx-24 i would be very greatful if you could help me for how to control a step motor.i have a bipolar one(with four wires from...
hi everyone i face problems in interfacing and connecting 4*4 keypad (RS 335-429) with basicx-24 with 2*16 lcd, as a user interface to my project. i have to...
hi gekil i can help u by doing my way. u have to have (Driver ) for the motor to amplify the signal coming from the basicx24. so the connection will be as...
here's a problem for somebody who's smarter than me: i wanted to know how long it takes for the basicx 24p to execute a certain routine that i wrote, so i...
Does anyone know if that dude in Ohio who did the "Wizards of Winter SM" video did anything this year? Last year his sound and light show was the highlight of...
that's much easier. i'll try it tomorow. there's one thing, though, that i don't follow. in your code where it says "' Insert your Timed Function code...
... Because local vars are assigned stack space dynamically and take some processor time. If you don't want to include that time, you can place your vars...
... as BasicX can do 32 bit floating point math... Here's a comparison of my 3x3 matrix inversion, done in Basic-X, which takes ~4345µS. The µM-FPU performs...
thanx, Tom, your method worked and i figured out what was wrong with my method. by using the cstr function, ie, x=cstr(timer) i was getting screwed up numbers...
... point value of 7 digits. There are two errors in that statement: - floating point values are not resolved to some number of decimal digits (that would be...
Hello, A friend of mine forgot the combination to his safe...So, I was wondering if anyone here has ever successfully constructed a safe dialer....something...