Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • jferguson's Avatar
    12-12-2019, 05:16 AM
    jferguson replied to a thread SBUS Library in General Discussion
    Writing S-Bus output to a microSD card is very twitchy. I think I'm going to quit messing with kit and just remove the repeated channels from the output file.
    67 replies | 14040 view(s)
  • jferguson's Avatar
    12-10-2019, 12:07 AM
    jferguson replied to a thread SBUS Library in General Discussion
    HI Brian, This is what I posted on the Arduino forum. The first response was to ask for all of the code - which is a lot. Since you devised the S-Bus library, maybe you can recognize the problem, I tend to suspect...
    67 replies | 14040 view(s)
  • jferguson's Avatar
    12-09-2019, 07:04 PM
    jferguson replied to a thread SBUS Library in General Discussion
    Well, it doesn't quite work fine. Most of the time I get double output. I'm reading four channels and it looks like the "While" is open long enough sometimes to read two passes of the S-Bus Data. I could clear this...
    67 replies | 14040 view(s)
  • jferguson's Avatar
    12-09-2019, 06:29 PM
    jferguson replied to a thread SBUS Library in General Discussion
    Does this look like a good way to read S-bus until packet starts with channels and then print it? "print_SBus" is a subroutine called from main output section. void print_SBus(){ uint16_t channels; bool...
    67 replies | 14040 view(s)
  • jferguson's Avatar
    12-09-2019, 02:08 PM
    jferguson replied to a thread SBUS Library in General Discussion
    I think I've figured it out. it's a synchronization problem. I need to make the sbus-read subroutine read the sbus until it gets a channels, then read that. should be simple.
    67 replies | 14040 view(s)
  • jferguson's Avatar
    12-08-2019, 07:16 PM
    jferguson replied to a thread SBUS Library in General Discussion
    Ok, the S-Bus reader is running in a sub-routine of my flight-datar- ecorder sketch. The GPS is a UBLOX M8N running at 10 Hz but not with your code Brian, I had other code which worked and doing the migration will...
    67 replies | 14040 view(s)
  • jferguson's Avatar
    12-08-2019, 03:46 AM
    jferguson replied to a thread SBUS Library in General Discussion
    Hi Brian, let me munch on this. I think I've figured out how to send the least amount of code which will show what I'm doing along with the results which show intermittant outrages on the S-Bus data recording. best,...
    67 replies | 14040 view(s)
  • jferguson's Avatar
    12-07-2019, 08:17 PM
    jferguson replied to a thread SBUS Library in General Discussion
    Hi Bryan, After relocating and the usual hassles getting back up to speed, I've got my Teensy 3.1 based flight data recorder running. It probably doesn't make much sense to get into the code given it's complexity...
    67 replies | 14040 view(s)
No More Results
About jferguson

Basic Information

About jferguson
Biography:
retired industrial architect - buildings not code
Location:
USA
Interests:
Autonomous Fixed Wing Aircraft

Statistics


Total Posts
Total Posts
54
Posts Per Day
0.04
Last Post
SBUS Library 12-12-2019 05:16 AM
General Information
Last Activity
12-12-2019 10:24 PM
Join Date
01-21-2016