Search found 2020 matches

by Dr_D
Nov 21, 2019 21:51
Forum: Projects
Topic: Iceroyds!
Replies: 41
Views: 6768

Re: Iceroyds!

Wow... Congrats man! Good work! :)
by Dr_D
Nov 16, 2019 16:56
Forum: Projects
Topic: FreeBASIC Extended Library build
Replies: 4
Views: 1550

Re: FreeBASIC Extended Library build

Wow... Nice to see this getting some use. :)
Sir_mud mentioned working on it recently... I haven't talked to him for a couple weeks though.
by Dr_D
Aug 25, 2019 18:48
Forum: Community Discussion
Topic: Audio library for FreeBasic - Features
Replies: 77
Views: 12769

Re: Audio library for FreeBasic - Features

I'm sorry, I haven't tested anything related to sound for a while. I've been fatally addicted to working with circuits/serial communications lately. On top of that, my daughter just started college, and we've been talking like crazy. :) I will try to test after work tomorrow. Hopefully someone else ...
by Dr_D
Aug 18, 2019 21:42
Forum: Hardware Interfaces / Communication
Topic: FreeBasic communication with Arduino logic error?
Replies: 51
Views: 17236

Re: FreeBasic communication with Arduino logic error?

Anyway, I removed any communication back from the Arduino, and the lag has pretty much gone away. Have you tried with higher baudrate settings? (I never go below 19200, minimum) I've run my *very old Arduino* (pre Ono model) at speeds up to (and including) 115200 baud. The real HW communication is ...
by Dr_D
Aug 18, 2019 19:25
Forum: Hardware Interfaces / Communication
Topic: FreeBasic communication with Arduino logic error?
Replies: 51
Views: 17236

Re: FreeBasic communication with Arduino logic error?

Ok... I know how crazy this image looks, but I'm not sure of another way to do it just yet. lol Anyway, I removed any communication back from the Arduino, and the lag has pretty much gone away. The code for both sides is below, but the Arduino code hasn't changed much at all... basically just remove...
by Dr_D
Aug 18, 2019 0:38
Forum: Hardware Interfaces / Communication
Topic: FreeBasic communication with Arduino logic error?
Replies: 51
Views: 17236

Re: FreeBasic communication with Arduino logic error?

Thanks for the image hosting site... I have no idea why imgur didn't work. .. probably something to do with money. lol Anyway, I will post what I have, but I'm not out of ideas just yet. I'm still learning... maybe I missed something simple. If I can, I'd like to find it myself. If not, I'll ask aga...
by Dr_D
Aug 17, 2019 23:00
Forum: Hardware Interfaces / Communication
Topic: FreeBasic communication with Arduino logic error?
Replies: 51
Views: 17236

Re: FreeBasic communication with Arduino logic error?

/* Well, I've come to a conclusion. I don't think a serial connection is suitable for a binary clock. I can now pass the data correctly, but unpredictability of the timing of when the buffer is actually full isn't reliable enough for something like a clock. However, I have learned a ton. I can make ...
by Dr_D
Aug 16, 2019 2:04
Forum: Hardware Interfaces / Communication
Topic: FreeBasic communication with Arduino logic error?
Replies: 51
Views: 17236

Re: FreeBasic communication with Arduino logic error?

Thanks dude. This is awesome. I need to take some time to wrap my head around it. I still don't understand why it isn't over when if(serial) is over... but all I can do is learn what's going on. Thanks again. :)

EDIT:
At the time of this post, I haven't even read most of it...
by Dr_D
Aug 15, 2019 20:43
Forum: Hardware Interfaces / Communication
Topic: FreeBasic communication with Arduino logic error?
Replies: 51
Views: 17236

Re: FreeBasic communication with Arduino logic error?

Here is my Arduino sketch... //This is the Arduino tutorial for daisy-chaining shift registers that I followed... //https://www.marginallyclever.com/2017/02/daisy-chain-74hc595n-shift-registers/ #include "MessageBuffer.h" static MessageBuffer msg; const int SER = 12; // (595 pin 14)serial ...
by Dr_D
Aug 15, 2019 19:34
Forum: Hardware Interfaces / Communication
Topic: FreeBasic communication with Arduino logic error?
Replies: 51
Views: 17236

Re: FreeBasic communication with Arduino logic error?

I'll post the arduino code when I get home... But, yeah, I'm iterating through the list, and I seem to keep getting garbage. I didn't know about serial monitor... Thanks!
by Dr_D
Aug 14, 2019 23:14
Forum: Hardware Interfaces / Communication
Topic: FreeBasic communication with Arduino logic error?
Replies: 51
Views: 17236

Re: FreeBasic communication with Arduino logic error?

Hey guys, I have another question... more like a problem I'm unable to solve myself, so I'm sorry if this is a lengthy post. I've wired up a binary clock led display using some SN74HC595N IC's as shift registers because this project requires more pins than the Arduino offers. To get to the meat of i...
by Dr_D
Aug 12, 2019 22:27
Forum: Hardware Interfaces / Communication
Topic: FreeBasic communication with Arduino logic error?
Replies: 51
Views: 17236

Re: FreeBasic communication with Arduino logic error?

Thanks for doing all of this, it's extremely helpful. I'm a total beginner at communicating with another device this way, so please bear with me... I have a few questions... and then I'll probably have more. lol So, I can only get coms to work, if I use COM3. Is there an explanation for this? At fir...
by Dr_D
Aug 04, 2019 15:49
Forum: Community Discussion
Topic: Audio library for FreeBasic - Features
Replies: 77
Views: 12769

Re: Audio library for FreeBasic - Features

a simple SID playing routine where nice for my project, but i think open and play MP3 files easy where a must have if it is not to mutch work. No. I think MP3 should stay outside of the SFX library, just as JPG are not included in the GFX library. also a easy to use 3D sound positioning/playing whe...
by Dr_D
Jul 30, 2019 22:23
Forum: Hardware Interfaces / Communication
Topic: FreeBasic communication with Arduino logic error?
Replies: 51
Views: 17236

Re: FreeBasic communication with Arduino logic error?

Interesting... I've been toying a bit with Arduino again as well. I've never attempted to use it in conjunction with FB before, though. It looks like this gives me the perfect excuse! lol Anyway, I have extremely modest goals, to be quite honest. It's all just for fun, and to keep my mind active aft...
by Dr_D
Jul 27, 2019 21:56
Forum: Projects
Topic: Another binary clock...
Replies: 0
Views: 7234

Another binary clock...

I made this because I was bored, but it looks pretty cool to me, so I decided to post it. I might make an actual mechanical with with an Arduino. :p #include once "fbgfx.bi" using FB const as single pi = 3.1415926, pi2 = pi*2, pihalf = pi/2 declare sub button( byref x as integer, byref y a...

Go to advanced search