lua-users home
lua-l archive

Search lua-l

This index contains 143,615 documents and 1,774,615 keywords. Last update on 2023-03-09 .

Query: [How to search]

Display: Description: Sort by:

Results:

References: [ serial: 492 ] [ interface: 4819 ]

Total 94 documents matching your query.

21. Re: 60kB RAM: Compare indexed string handling to Lua heap handling (score: 58)
Author: Flyer31 Test <flyer31@...>
Date: Thu, 25 Nov 2021 08:26:10 +0100
Hi Benjamin, thank you for answer. I am not sure whether I understand it correctly - you mean that the final "run code" should not be present inside the controller, but at every run event should be l
22. Re: Delay garbage collection of some data possible? ("validate" data for C?) (score: 56)
Author: Flyer31 Test <flyer31@...>
Date: Sat, 12 Jun 2021 15:42:50 +0200
Hi Pierre + all others, please excuse, meanwhile I really have a slightly bad conscience concerning this question ... it is really somehow not thought deep enough - you really are somehow right with
23. Re: Delay garbage collection of some data possible? ("validate" data for C?) (score: 51)
Author: Philippe Verdy <verdyp@...>
Date: Fri, 11 Jun 2021 14:34:58 +0200
Your string should be referenced by a Lua thread, that is not dying/terminating, just waiting to be awoken and resumed later, so that thread should be left in a wait state. In that case, the thread i
24. Re: lua - running bytecode from an external ram space (score: 48)
Author: "imo" <imo@...>
Date: Wed, 13 Jul 2011 20:42:02 +0200 (CEST)
Yea, I did of course a proof of concept.. I've connected 2mbit FM25H20 (256kx8) serial SPI FRAM to a pic24HJ. You can access randomly a long (32bit) for r/w in ~8usec. With a pic32mx (I am running th
25. Re: Spam:[ANN] Lua For Windows v5.1.3.7 Public Alpha4 released (score: 47)
Author: Doug Rogers <rogers@...>
Date: Thu, 22 May 2008 12:29:51 -0400
Ryan, this is good stuff. I finally got around to trying it out this morning. The account I installed it in is an administrator account so these comments do not address that concern. I will try to ge
26. Re: Free hardware (score: 40)
Author: Daurnimator <quae@...>
Date: Wed, 22 Jun 2011 14:43:18 +1000
Looks like a bit of fun; how much would you be willing to let go of them for? Daurn.
27. Re: Free hardware (score: 40)
Author: Jeremy Darling <jeremy.darling@...>
Date: Tue, 21 Jun 2011 09:12:24 -0500
I would definitely be interested in picking up a few of this type of thing, heck I'd even send ya some shipping reimbursement :).  If you have any spares of the Relay boards and/or motor control boar
28. Free hardware (score: 40)
Author: Andrew Armstrong <andrewa@...>
Date: Tue, 21 Jun 2011 14:55:16 +0100
I like to interface various hardware to Lua somewhat similar to: http://www.archonix.co.uk/corporate/?page_id=496 I have a number of early revision boards in stock that I would love to get rid of and
29. Re: luars232 for COM10-255 (score: 38)
Author: "David Collier" <myshkin@...>
Date: Tue, 23 Oct 2012 13:04 +0100 (BST)
A summary reply to all responders. Thanks for the VC++ link. Looks like I may avoid needing it today, but useful to have it. I can confirm that adding \\.\ on the front of the port number does indeed
30. luars232 for COM10-255 (score: 38)
Author: "David Collier" <myshkin@...>
Date: Tue, 23 Oct 2012 10:48 +0100 (BST)
This is really for Ynezz, but others may be interested. I found that luars232 didn't support com ports above COM9. I'm trying to production test a whole batch of 50 boards which include a USB to RS48
31. RE: selecting sockets and serials (score: 38)
Author: "Thijs Schreijer" <thijs@...>
Date: Tue, 16 Oct 2012 08:35:41 +0200
Thx for that. A need to use both sockets and a serial connection, and my preferred way would be to use a single select statement so the whole thing goes into a waitstate. If I use serial and sockets
32. Re: Lua module wrapping the Windows COMM port API (score: 38)
Author: Ross Berteig <Ross@...>
Date: Sat, 21 Jun 2008 18:03:07 -0700
The simple answer is that I have multiple Windows platforms available to me, but no Unix, Linux, or Mac systems. I am not hostile to platform portability, I just don't have the resources at hand. Als
33. Re: [ANN] lua-periphery v1.0.1 (score: 35)
Author: Ivan Sergeev <vsergeev@...>
Date: Mon, 2 Jun 2014 13:12:15 -0700
I've released lua-periphery v1.0.2, which supports Lua 5.1 (including the LuaJIT implementation) and later: https://github.com/vsergeev/lua-periphery . You can also get it through luarocks or moonroc
34. Re: [ANN] lua-periphery v1.0.1 (score: 35)
Author: djczaski <djczaski@...>
Date: Wed, 28 May 2014 14:22:22 -0400
From the Lua language side of things, 5.2 has two features that make it more conducive to working with bits in this context. One is the stock bit32 library, which is pretty much essential for working
35. Re: [ANN] lua-periphery v1.0.1 (score: 35)
Author: Ivan Sergeev <vsergeev@...>
Date: Tue, 27 May 2014 13:16:44 -0700
I originally wrote it to support 5.1+, but ran into a few issues and inconveniences that made me opt for 5.2+. From the Lua C API side of things, the only real issue was that many of the methods in t
36. Re: Dead Batteries (score: 30)
Author: Russell Haley <russ.haley@...>
Date: Sun, 5 Jan 2020 10:35:51 -0800
You really hit the spot! On a related note, many years ago I read something about the success of C (I can't recall exactly where or who wrote it, but it wasn't a uninfluential author, IIRC). That au
37. Re: Delay garbage collection of some data possible? ("validate" data for C?) (score: 27)
Author: Flyer31 Test <flyer31@...>
Date: Fri, 11 Jun 2021 17:57:19 +0200
Thank you for info - this confirms what I also thought after reading the Email of Xmilia, thank you for this input Xmilia, this was interesting paragraph in the reference manual. So for now I think I
38. Re: Delay garbage collection of some data possible? ("validate" data for C?) (score: 27)
Author: Edoardo <edoardo762@...>
Date: Fri, 11 Jun 2021 15:17:41 +0200
Yes, that's how you would ref/unref in the registry index, tho as Xmilia pointed out to me in their mail, this would only make sure the string is still accessible as lua object but doesn't guarantee
39. Re: Delay garbage collection of some data possible? ("validate" data for C?) (score: 27)
Author: shankusu2017 <shankusu2017@...>
Date: Fri, 11 Jun 2021 21:07:33 +0800
frist, you push data into lua'stack, then you set global'table[key] = data, when DMA call onver, set global'table[key] = nil in lua515 code like below for hold in lua      lua_pushnumber(L, uuid-num-
40. Re: Delay garbage collection of some data possible? ("validate" data for C?) (score: 27)
Author: Flyer31 Test <flyer31@...>
Date: Fri, 11 Jun 2021 13:48:10 +0200
Hi Shankusu, thank you for answer, this sounds interesting - can you give me some short example how to put the data best to global data for a Lua programming newbie like me? ... somehow the "upgrade"

Search by Namazu v2.0.21