Search found 47 matches
- Sat Mar 20, 2021 10:48 pm
- Forum: Hardware and Installation
- Topic: Using GPIO for Warning lights: Lights remain partially lit
- Replies: 8
- Views: 19812
Re: Using GPIO for Warning lights: Lights remain partially lit
I know this thread is getting very old, but I just found it as I'm facing the same problem with my mk3. Since it still seems to be unresolved I thought I'd add my solution. My circuit is exactly the same as OPs, but now I have added pull-up resistors across each of my LEDs. 1.9k ohms seems to have d...
- Thu Aug 08, 2019 6:12 pm
- Forum: Lua Scripting
- Topic: Need Help - Using Channels from AIM SmartyCam CAN
- Replies: 8
- Views: 16310
- Thu Aug 08, 2019 4:31 pm
- Forum: Hardware and Installation
- Topic: Amazon Fire and OTG
- Replies: 3
- Views: 12152
I have this cable. It works perfectly with an old Nexus 5 (not rooted).
https://www.amazon.com/gp/product/B01KG ... UTF8&psc=1
https://www.amazon.com/gp/product/B01KG ... UTF8&psc=1
- Fri Jul 05, 2019 1:01 am
- Forum: Lua Scripting
- Topic: Can't "Run" my script
- Replies: 3
- Views: 11561
- Sun Jun 30, 2019 5:36 am
- Forum: Lua Scripting
- Topic: Can't "Run" my script
- Replies: 3
- Views: 11561
- Fri Jun 21, 2019 4:10 am
- Forum: Lua Scripting
- Topic: Need Help - Using Channels from AIM SmartyCam CAN
- Replies: 8
- Views: 16310
- Fri Jun 21, 2019 3:13 am
- Forum: Lua Scripting
- Topic: Need Help - Using Channels from AIM SmartyCam CAN
- Replies: 8
- Views: 16310
It looks like the recommended way of handling this is to set the CAN channels up through the RCP app and save the configuration there. That will offload the reading of the CAN bus data stream to the firmware rather than doing it in lua. Then you won't need the processCAN function in your onTick func...
- Thu Jun 20, 2019 4:59 pm
- Forum: Lua Scripting
- Topic: Need Help - Using Channels from AIM SmartyCam CAN
- Replies: 8
- Views: 16310
I haven't got any experience with the AIM SmartyCam but just looking at this code, I'm guessing that when the car is on you're getting a steady steam of CAN signals, which is causing it to stay in the ProcessCAN function for a long time. That function only appears to return when there is no more dat...
- Sun Jun 09, 2019 2:38 am
- Forum: Lua Scripting
- Topic: sxSetConfig arg 6 is bool
- Replies: 1
- Views: 9830
sxSetConfig arg 6 is bool
Documentation says:
[arg6]: Enable / Disable button events: 0 (Enable button event broadcast to app); 1 (Disable button event broadcast to app)
actually needs true or false.
[arg6]: Enable / Disable button events: 0 (Enable button event broadcast to app); 1 (Disable button event broadcast to app)
actually needs true or false.
- Fri Jun 07, 2019 7:39 pm
- Forum: Lua Scripting
- Topic: Can't "Run" my script
- Replies: 3
- Views: 11561
Can't "Run" my script
I have a script that clearly is very close to the memory limit. It runs fine on power up. It also runs immediately after being written, however if I try to restart it with the app's "Run" button lua fails to restart with the following messages: [lua] Successfully loaded script. [lua] Grace...
- Wed Jun 05, 2019 4:29 am
- Forum: Lua Scripting
- Topic: Can't recover from out of memory
- Replies: 15
- Views: 28542
This probably belongs on a different thread at this point - I think we're looking at 2 bugs here: the first bug is that a lua script can cause corruption. The second bug is that the factory reset doesn't clear the script partition. Looking at the firmware code below and doing a little googling, it a...
- Sun Jun 02, 2019 5:19 am
- Forum: Lua Scripting
- Topic: Innovate Serial protocol
- Replies: 7
- Views: 18526
After wrestling with memory issue while trying to integrate this module with some others, here is a slimmed down version. I apologise for the loss in legibility, but the memory footprint reduction is significant over the previous listing. The original was 2500 bytes (1350 after lua minifier). This v...
- Sat Jun 01, 2019 1:23 am
- Forum: Lua Scripting
- Topic: Can't recover from out of memory
- Replies: 15
- Views: 28542
- Sat Jun 01, 2019 1:17 am
- Forum: Lua Scripting
- Topic: Can't recover from out of memory
- Replies: 15
- Views: 28542
- Sat Jun 01, 2019 1:13 am
- Forum: Lua Scripting
- Topic: Can't recover from out of memory
- Replies: 15
- Views: 28542