Showing latest added snippets.

simple.ino - Snippet icon simple.ino
  1. /**
  2. * aSysBus simple example
  3. *
  4. * This example shows how a basic aSysBus-node can be made. Here we use a
  5. * CAN-Bus to send and receive messages. Inside the loop we send a message and
  6. * output everything we received in a human readable format to UART
  7. */
  8.  
  9. #include "asb.h"
  10.  
  11. //Create new ASB node using ID 0x123 as local addess
  12. //This is the "brain" and already handles routing between multiple
See the complete snippet
Language: Other
Tags:
Submitted By: Bluebird_online
hookModules.ino - Snippet icon hookModules.ino
  1. /**
  2. * aSysBus hook module example
  3. *
  4. * There are several modules to handle generic functions. This example uses two
  5. * modules designed to handle the pins of an Arduino as inputs or outputs
  6. * respectively.
  7. * When using modules their configuration is stored in EEPROM which itself will
  8. * get initialized on first boot. Later you can use bus messages to change the
  9. * EEPROM and as such reconf
See the complete snippet
Language: Other
Tags:
Submitted By: Bluebird_online
hookFunction.ino - Snippet icon hookFunction.ino
  1. /**
  2. * aSysBus hook function example
  3. *
  4. * This example shows how to link a function to a set of metadata. This is especially
  5. * useful if you want to implement your own actors. Here we also use two interfaces,
  6. * namely a CAN-bus and UART which both can be used to send or receive packets. The
  7. * node will route incoming packets to the other interface.
  8. */
  9.  
  10. #include "asb.h"
  11.  
  12. //Create new ASB no
See the complete snippet
Language: Other
Tags:
Submitted By: Bluebird_online
eeprom_get.ino - Snippet icon eeprom_get.ino
  1. #include <EEPROM.h>
  2.  
  3. void setup() {
  4. byte check;
  5.  
  6. Serial.begin(115200);
  7. for (int i = 0 ; i < EEPROM.length() ; i++) {
  8. check = EEPROM.read(i);
  9. Serial.print("0x");
  10. Serial.print(i, HEX);
  11. Serial.print(" => ");
  12. Serial.println(check, HEX);
  13. }
  14. Serial.print("Done.");
  15. }
  16.  
  17. void loop() {}
  18.  
See the complete snippet
Language: Other
Tags:
Submitted By: Bluebird_online
eeprom_clear.ino - Snippet icon eeprom_clear.ino
  1. #include <EEPROM.h>
  2.  
  3. void setup() {
  4. Serial.begin(115200);
  5. Serial.print("Erasing...");
  6. for (int i = 0 ; i < EEPROM.length() ; i++) {
  7. EEPROM.write(i, 0xFF);
  8. }
  9. Serial.print("Done.");
  10. }
  11.  
  12. void loop() {}
  13.  
See the complete snippet
Language: Other
Tags:
Submitted By: Bluebird_online
Language: Other
Tags:
Submitted By: frobliss
Language: Other
Tags:
Submitted By: frobliss
HTML 4.01 Strict - Snippet icon HTML 4.01 Strict
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
  2. "http://www.w3.org/TR/html4/strict.dtd">
  3. <html lang="en">
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  5. <title>untitled</title>
  6. </head>
  7.  
  8. </body>
  9. </html>
See the complete snippet
Language: HTML
Tags:
Submitted By: inatu
XHTML 1.0 Transitional - Snippet icon XHTML 1.0 Transitional
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3.  
  4. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  6. <title>untitled</title>
  7. </head>
  8.  
  9. </body>
  10. </html>
See the complete snippet
Language: HTML
Tags:
Submitted By: inatu
PHP Starter - Snippet icon PHP Starter
  1. <?php
  2. print "Hello World";
  3. ?>
See the complete snippet
Language: PHP
Tags:
Submitted By: inatu
Adding Bundles - Snippet icon Adding Bundles
  1. Code Collector Pro allows you to add bundles to expand the list of languages available allowing them to have their syntax coloured. Code Collector Pro supports TextMate bundles, which are available from the online bundle respository (http://macromates.com/svn/Bundles/trunk/). Once you have downloaded a bundle you can add it by going into Preferences and clicking on the + button in the bundles sect
See the complete snippet
Language: Other
Tags:
Submitted By: inatu
XHTML 1.0 Strict - Snippet icon XHTML 1.0 Strict
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3.  
  4. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  6. <title>untitled</title>
  7. </head>
  8.  
  9. </body>
  10. </html>
See the complete snippet
Language: HTML
Tags:
Submitted By: inatu
Objective-C Starter - Snippet icon Objective-C Starter
  1. #import <Foundation/Foundation.h>
  2.  
  3. int main (int argc, const char * argv[]) {
  4. NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
  5.  
  6. NSLog(@"Hello World");
  7. [pool release];
  8. return 0;
  9. }
See the complete snippet
Language: Objective-C
Tags:
Submitted By: inatu
Java Starter - Snippet icon Java Starter
  1. class HelloWorld {
  2. public static void main(String args[]) {
  3. System.out.print("Hello World");
  4. }
  5. }
See the complete snippet
Language: Java
Tags:
Submitted By: inatu
C Starter - Snippet icon C Starter
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. printf("Hello World");
  5. return 0;
  6. }
See the complete snippet
Language: C
Tags:
Submitted By: inatu
Code Collector Pro Header Image

Get Better Link Tester

Better Link Tester is the best way to check every page on your site to make sure that there are no broken links (404s), and to make sure that you site is up and running.

Find out more » Download Better Link Tester

Web Analytics