!oehzxzJtyOucDIIRQs:matrix.org

dropbot-dev

8 Members
3 Servers

Load older messages


SenderMessageTime
19 Sep 2017
@lucaszw:matrix.orglucaszw joined the room.15:09:39
@christian.fobel:matrix.orgchristian.fobel ryan.fobel: I just got base-node-rpc compiling and running for Arduino micro 22:27:50
@christian.fobel:matrix.orgchristian.fobel It seems like the micro doesn't support using the serialEvent callback to process incoming data on the serial interface 22:28:41
@christian.fobel:matrix.orgchristian.fobelRedacted or Malformed Event22:29:50
@christian.fobel:matrix.orgchristian.fobel

I was able to make things work by replacing:

void serialEvent() { node_obj.serial_handler_.receiver()(Serial.available()); }

void loop() {
  if (node_obj.serial_handler_.packet_ready()) {
      node_obj.serial_handler_.process_packet(command_processor);
  }
}

with:

void loop() {
  if (Serial.available()) {
    node_obj.serial_handler_.receiver()(Serial.available());

    if (node_obj.serial_handler_.packet_ready()) {
        node_obj.serial_handler_.process_packet(command_processor);
    }
  }
}
22:30:43
20 Sep 2017
@ryanfobel:matrix.orgryan.fobel Awesome, thanks Christian! I'll give it a try tomorrow... 00:55:46
@ryanfobel:matrix.orgryan.fobelFigured out the problem with those control boards... They populated 2 capacitors that should have been left empty. Once I removed them, everything works as expected.12:19:09
@christian.fobel:matrix.orgchristian.fobelAwesome!13:16:56
27 Sep 2017
@ryanfobel:matrix.orgryan.fobelRe: the handling of the serialEvent above, any problem with making that change in the base-node-rpc project for all boards or should I do it conditionally for the micro using #defines21:24:21
@ryanfobel:matrix.orgryan.fobel?21:24:27
@christian.fobel:matrix.orgchristian.fobelI made the fix already. I've just pushed up the changes as v0.32 to the git repo and am just building the Conda package now21:32:49
@ryanfobel:matrix.orgryan.fobelOk, thanks!21:33:24
@christian.fobel:matrix.orgchristian.fobel I just ended up making the change without ifdefs, since it is basically how the serialEvent function is just called by serialEventRun after each iteration of loop anyways 21:38:43
@ryanfobel:matrix.orgryan.fobelWorks for me21:39:47
15 Oct 2018
@voyager:t2bot.ioMatrix Traveler (bot) joined the room.06:41:15
@kasbah:matrix.orgkasbah joined the room.08:28:47
25 Aug 2019
@raitricwhiptend1:matrix.org@raitricwhiptend1:matrix.org joined the room.20:05:05
@raitricwhiptend1:matrix.org@raitricwhiptend1:matrix.org left the room.20:05:12
14 Apr 2020
Unknown widget removed by @ryanfobel:matrix.orgryan.fobel18:26:52
Unknown widget removed by @ryanfobel:matrix.orgryan.fobel18:27:15
7 Jul 2020
@megan5334:matrix.org@megan5334:matrix.org joined the room.16:24:53
8 Jul 2020
@megan5334:matrix.org@megan5334:matrix.org left the room.00:39:17
2 Aug 2021
@server_stats:nordgedanken.dev@server_stats:nordgedanken.dev joined the room.06:36:56
4 Oct 2021
@lklynton:matrix.orgKlynton joined the room.18:49:24
6 Oct 2021
@lklynton:matrix.orgKlynton set a profile picture.23:17:46
@lklynton:matrix.orgKlynton changed their display name from lklynton to Klynton.23:18:28
23 Nov 2021
@server_stats:nordgedanken.dev@server_stats:nordgedanken.dev left the room.04:00:55
9 Mar 2022
@kasbah:matrix.orgkasbah changed their profile picture.15:51:47
18 Apr 2022
@wybpip:matrix.org@wybpip:matrix.org joined the room.13:02:34
@wybpip:matrix.org@wybpip:matrix.org left the room.13:02:35

Show newer messages


Back to Room ListRoom Version: