Questions tagged [events]

9 questions
25
votes
14 answers

Project Showcase '14

The logo is a derivative of the Arduino Community Logo licensed under Creative Commons license CC-SA-BY-NC 3.0 Update: Winners Announced The winners of the contest have been announced. Please see the Meta post for details. To celebrate 10 years…
sachleen
  • 7,565
  • 5
  • 40
  • 57
8
votes
1 answer

Event driven programming

I have ran across a couple of different event libraries that are available on the AVR and Andruino but I am not sure which one is the best option. What I would like to do is design my program in a event driven style but not sure how to go about…
Andy Braham
  • 468
  • 1
  • 8
  • 17
2
votes
0 answers

Worldwide "Arduino in education" events

I'd like to know if there are events worldwide or in Latin America regarding how to introduce Arduino as an extra-curricular activity. Thanks, Marcelo from Argentina.
1
vote
0 answers

Pulse period capture with SAMD21

I need to count the number of pulses in a moving window (e.g. last 60 seconds) using as less CPU time as possible. The first step is to use TCC to capture pulse period. The pulses arrive randomly at PB02 and the average frequency is about 20-100…
7E10FC9A
  • 209
  • 1
  • 6
1
vote
1 answer

Arduino as USB HID is slowed down when PC doesn't read events

I have an Arduino Micro that is acting as a HID device for a Linux PC. I use this call to send the HID values: HID().SendReport(1, _values, sizeof(_values)); This works in principle, but I noticed this issue: If my Linux PC is not actively reading…
Bram
  • 219
  • 2
  • 9
1
vote
2 answers

About ATmega32 event system

From my reading on internet i found that the Event system allows peripherals to trigger each other without involving the CPU...does the event system is software or hardware?also does ATmega32 support it? also can any one give me a real application…
1
vote
1 answer

Can I use arduino and mobile phone screen to make a touch board?

I'm new to Arduino, I want to use Arduino and a mobile phone screen to make a simple touch board. This phone screen I mean, is like this: Can I connect it to Arduino, and when my fingers touch the screen, Arduino can get the events?
Freewind
  • 183
  • 1
  • 1
  • 6
0
votes
1 answer

How to know which event fired first?

I want to automate the chicken coop of my grandmother. To do so, I want to use Arduinos and NodeMCUs, respectively. I want to check if all chickens are in the coop at night and then close a little door. I was trying to use RFID technology and tag…
Strohmi
  • 103
  • 2
-1
votes
5 answers

'setup' does not name a type?

Was trying to work some code that I found online to suit my needs and it continues to show the same error 'setup' does not name a type. I have tried setting it to void, Void as well as rewriting the code but still the same issue arises and I was…
L.Freeston
  • 19
  • 2