19 Sep 2017 |
| lucaszw joined the room. | 15:09:39 |
christian.fobel | ryan.fobel: I just got base-node-rpc compiling and running for Arduino micro | 22:27:50 |
christian.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 | Redacted or Malformed Event | 22:29:50 |
christian.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 |
ryan.fobel | Awesome, thanks Christian! I'll give it a try tomorrow... | 00:55:46 |
ryan.fobel | Figured 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 | Awesome! | 13:16:56 |
27 Sep 2017 |
ryan.fobel | Re: 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 #defines | 21:24:21 |
ryan.fobel | ? | 21:24:27 |
christian.fobel | I 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 now | 21:32:49 |
ryan.fobel | Ok, thanks! | 21:33:24 |
christian.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 |
ryan.fobel | Works for me | 21:39:47 |
15 Oct 2018 |
| Matrix Traveler (bot) joined the room. | 06:41:15 |
| kasbah joined the room. | 08:28:47 |
25 Aug 2019 |
| @raitricwhiptend1:matrix.org joined the room. | 20:05:05 |
| @raitricwhiptend1:matrix.org left the room. | 20:05:12 |
14 Apr 2020 |
| Unknown widget removed by ryan.fobel | 18:26:52 |
| Unknown widget removed by ryan.fobel | 18:27:15 |
7 Jul 2020 |
| @megan5334:matrix.org joined the room. | 16:24:53 |
8 Jul 2020 |
| @megan5334:matrix.org left the room. | 00:39:17 |
2 Aug 2021 |
| @server_stats:nordgedanken.dev joined the room. | 06:36:56 |
4 Oct 2021 |
| Klynton joined the room. | 18:49:24 |
6 Oct 2021 |
| Klynton set a profile picture. | 23:17:46 |
| Klynton changed their display name from lklynton to Klynton. | 23:18:28 |
23 Nov 2021 |
| @server_stats:nordgedanken.dev left the room. | 04:00:55 |
9 Mar 2022 |
| kasbah changed their profile picture. | 15:51:47 |
18 Apr 2022 |
| @wybpip:matrix.org joined the room. | 13:02:34 |
| @wybpip:matrix.org left the room. | 13:02:35 |