Répondre au commentaire
user warning: Unknown column 'i18n.language' in 'where clause'
query: SELECT DISTINCT b.* FROM blocks b LEFT JOIN blocks_roles r ON b.module = r.module AND b.delta = r.delta LEFT JOIN i18n_blocks i18n ON (b.module = i18n.module AND b.delta = i18n.delta) WHERE (i18n.language ='fr' OR i18n.language ='' OR i18n.language IS NULL) AND ( b.theme = 'garland' AND b.status = 1 AND (r.rid IN (1) OR r.rid IS NULL) )ORDER BY b.region, b.weight, b.module in /var/alternc/html/o/orangeseeds/usr/drupal-6/modules/block/block.module on line 456.
If you only get a black
If you only get a black screen, processing does not find the right serial port.
Try following:
void setup() { size(640, 480); println(Serial.list()); //<--- add this line port = new Serial(this, Serial.list()[0], 9600); //(text below) change number in [ ] values = new int[width]; smooth(); }Then look into the console output of processing. You should see a list with all availible COM ports. E. g. my Arduino was at " [2] COM3 ". Next you have to change the number [0] to the number of your Arduino's COM port (in my case to [2] ). Then it works.
----
The idea of this oscilloscope is really nice!!! But the speed is not perfect ;) . Another thing to a multichannel oscilloscope: there is only ONE ADC in the ATmega and all analogue inputs are multiplexed with this one ADC. So if you need higher sample rates do NOT read from more than one channel. Maybe I will write a small article about tweaking the analogue reading for oscilloscope applications.